6.8.2 Related Features

In this section, you will find a frequently used function for the string editor. Please refer to the table below for the applicable function.

Type

Format

Description

Function

GetLength(Tag)

Returns the number of characters in a string tag.

Function

StringTable (“Group Number”, “String number in a group”)

Gets string data from the string table.

 

GetLength

Returns the number of characters in a string tag.

Function

n = GetLength (Tag)

Description

Returns the number of characters in a string tag. This includes spaces and special characters.

Example

“A” is the tag assigned to the object. “ENG” is the string tag: “Welcome”. The function returns the value 7.

A = GetLength(ENG);

 

StringTable

Gets string data from the string table.

Function

n = StringTable (“Group Number”, “String number in a group”)

Description

Returns string data from a specified string group. A string tag must be used for the string data.

Example

Returns the 1st string data in group number 2.

StrTag = StringTable (2, 1)