String handling predifined functions
Trim ( str, char )
This function trims the character char wherever it finds it on the string str.
LTrim ( str, char )
This function trims the character char on the left side of the string str.
RTrim ( str, char )
This function trims the character char on the right side of the string str.
strcat ( s1, s2, ...)
This function returns the concatenation of strings s1, s1, ...
strcomp ( str1, str2)
This function returns (1) if string str1 is the same as string str2, otherwise it returns (0).
Left ( str, count )
This function returns the part of str that starts from its left and has a length of count characters.
Copy ( str, n, count )
This function returns the part of str that starts from position n (starting from 1) and has a length of count characters.
Pos ( substr, str )
This function returns the starting position of substr into the string str. If substr is not contained returns (0).
GetStrArgumentNo ( str, sep, off )
This function returns the off-th substring from bigger string str in a sequence of sep separated strings. For example “a;bc;de“.
RepeatChar ( str, count )
This function returns the string that is the concatenation of count occurrences of string str.
RepeatAsciiChar ( ansi_num, count )
This function returns the string that is the concatenation of count occurrences of ANSI code ansi_num.
Replace ( originalstr, replacedstr, replacementstr )
This function returns the string resulting from the replacement of every occurrence of string replacedstr with string replacementstr into the original string originalstr.
AnsiToOem ( ansi_str )
This function converts the ANSI ansi_str string to the OEM representation.
len ( str )
This function returns the length of string str.