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) |
Β