Function name Description
String to compare Two strings are compared with one another from a lexicographical
perspective.
The function gives a return value of zero if the strings are the same, a
value less than zero if the first string is smaller than the second string
or a value greater than zero if the second string is smaller then the first
string.
Parameter:
str1 - string
str2 - comparison string
Syntax:
<function name="string.cmp" return ="<int var>" >
str1, str2 </function>
Example:
<let name="rval">0</let>
<let name="str1" type="string">A brown bear hunts a
brown dog.</let>
<let name="str2" type="string">A brown bear hunts a
brown dog.</let>
<function name="string.cmp" return="rval"> str1,
str2 </function>
Result:
rval= 0
Generating user dialogs
1.10 Predefined functions
Easy XML
106 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1