![]() String Processing Logic |
![]() DEVELOPER |
![]() |
The following commands allow you to control string processing within a logic routine. In-Line Substringing is a facility that may be used independently or in conjunction with logic commands to manipulate data.
![]() |
These logic commands support strings of up to 2,000 bytes in length. |
Logic Command |
Description |
Tests if one string is within another string, on a byte-by byte basis. |
|
Returns the start position of one string within another string in bytes. |
|
Determines the length of a string in bytes. |
|
Tests if one string is within another string by characters. |
|
Returns the start position of one string within another string in characters. |
|
Find the UTF-8 character position of one string inside another where either may contains UTF-8 characters. |
|
Determines the length of a string in characters. |
|
Returns the length on the screen for a multiple-byte string. |
|
Counts the number of UTF-8 characters in a string. |
|
Converts a string into uppercase. |
|
Converts a string to upper case respecting any UTF-8 characters it contains. If UTF-8 characters have upper case equivalents then these are used. |
|
Converts a string into lowercase. |
|
Converts a string to lower case respecting any UTF-8 characters it contains. If UTF-8 characters have lower case equivalents then these are used. |
|
Converts to Mixed Case (First letter capitalised and the rest changed to lower case). |
|
Converts a string to mixed case respecting any UTF-8 characters it contains. If UTF-8 characters have mixed case equivalents then these are used. |
|
Compares two strings in either case sensitive or insensitive mode. |
|
Take a substring from another string treating it as UTF-8 characters. |
|
Removes specified characters from a string. |
|
Removes leading spaces from a string. |
|
Removes trailing spaces from a string. |
|
Replaces all occurrences of a sub-string within the source string with the replacement sub-string. |
|
Can be used iteratively to return the string delimited by a list of delimiters. |
|
Envelops a string with single quote characters. |
|
Envelops a string with double quote characters. |
|
Envelops a string with a specified character or the first character in the specified string. |
Topic ID: 520152