Icon LocaleSameText

Unit: Internal

Available In: Client and Server Applications

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

The LocaleSameText function compares the A string input parameter with the B string input parameter without 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', 'ABSOLUTE');  // X is True
Image