Locale CollateCaseInsensitive() Method

Compares two strings using case insensitive Locale rules. Useful for sorting strings.

Function Signature

 int CollateCollateCaseInsensitive( string a, string b)

Parameters

Parameter Type Description

a

string

The first string to be compared.

b

string

The second string to be compared.

Return

Type Description

int

Returns -1 if a collates lower than b, 0 if they are equal, and 1 if a collates higher than b.

Technical Details

SBM ModScript version: 11.6.1.

Example

None.

Notes

None.

Related Topics

Locale