Icon LocaleSameStr

Unit: Internal

Available In: Client and Server Applications

function LocaleSameStr(const A, B: String): Boolean

The LocaleSameStr function compares the A string input parameter with the B string input parameter with case-sensitivity. The comparison uses the browser's current locale setting to compare the two strings. The return value is a Boolean value of True if A is equal to B, and False if A is not equal to B.

Examples

X := LocaleSameStr('Absolute', 'Baseball');  // X is False
Image