This function compares two alphanumeric strings and returns "true" if the first string is strictly higher than the second ("false" if not).
Unlike lexicographic comparison which compares the coding value of each character, this comparison uses a collation which enables two character strings to be compared according to a given language.
Parameters
String |
stringVal1 |
Alphanumeric string to compare |
Mandatory |
String |
stringVal2 |
Alphanumeric string to compare |
Mandatory |
Hash |
collatorInfos |
Definition of collation information. This object can have the following attributes:
|
Optional. If this object is not provided, the locale taken for the comparison is that entered for template execution ("strength" and "decomposition" attributes will have a default value which depends on the locale). |
For example
foo > bar: ${ hardisCore.isLocaleBasedGtString("foo", "bar", {"strength":"primary"})}