RAD Studio VCL Reference
SysUtils.AnsiSameText Function

Compares strings based on the current locale without case sensitivity.

function AnsiSameText(const S1: string; const S2: string): Boolean;
Boolean AnsiSameText(const AnsiString S1, const AnsiString S2);

AnsiSameText compares S1 to S2, without case sensitivity. The compare operation is controlled by the current locale. The return value is true if the two strings have the same value, false otherwise. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!