RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.AnsiSameStr Function

Compares strings based on the current locale with case sensitivity.

Pascal
function AnsiSameStr(const S1: string; const S2: string): Boolean;
C++
Boolean AnsiSameStr(const AnsiString S1, const AnsiString S2);

SysUtils

AnsiSameStr compares S1 to S2, with 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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!