The localCompare attribute function checks the string of the variable with the specified string based on the locale (country setting) of the server.
Syntax | ||||
localCompare(Chars, [LanguageID]) | ||||
Return value | ||||
Type |
Description | |||
Long |
Comparison result | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Chars |
String |
ByVal |
The string to be checked. |
Optional |
LanguageID |
String |
ByVal |
Language-ID of the value. |
Note | ||||
If LanguageID is not specified, the dialog language applies. The comparison delivers 0 if the comparison shows a meaning equality, such as in German ss=ß -1 if the string to be checked is larger. 1, if the string to be checked is smaller.
|