Icon SameText

Unit: Internal

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

The SameText function compares the A input parameter string with the B input parameter string without case-sensitivity. The comparison is locale-insensitive. The return value is a Boolean value of True if A is equal to B, and False if A is not equal to B.


X := SameStr('Absolute', 'ABSOLUTE');  // X is True