{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
StrCmp
Reads the first String and compares it with the second.
Usage:
StrCmp( String, String ) StrCmp( String, String, option )
Parameters:
string | The strings that should be compared with each other. |
---|---|
option | A number parameter which specifies whether or not to be case-sensitive (0 is case-sensitive, 1 is not) [OPTIONAL, default is 0] |
Returns:
Returns a whole number representing whether the first string is alphabetically before the second (-1), after the second (1), or equal to the second string (0).
Examples:
StrCmp("Test","Test") // Returns 0. StrCmp("ABC","ABD") // Returns -1. StrCmp("Blab","Blaab") // Returns 1.