A function added by MWSE.
xStringCompare compares the two strings based on alphabetical order and returns 0 if they are equal, a negative number if the first string would appear first, and a postive number if the second string would appear first.
SyntaxEdit
order (long): xStringCompare s1 (string) s2 (string)
ExampleEdit
long str long result setx str to xStringBuild "hello" setx result to xStringcompare "hello" str If ( result == 0 ) messagebox "strings are the same" else messagebox "strings are different" endif