SBM ModScript Reference → Programming SBM ModScript → Object Types → Locale → Locale Collate() Method
Compares two strings using Locale rules.
Parameter | Type | Description |
---|---|---|
a |
string |
The first string to be compared. |
b |
string |
The second string to be compared. |
Type | Description |
---|---|
int |
Returns -1 if a collates lower than b, 0 if they are equal, and 1 if a collates higher than b. |
SBM ModScript version: 11.6.1.
None.
None.
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.