Locale Collate() Method

Compares two strings using Locale rules.

Function Signature

 int Collate( 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