RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.SameStr Function

Compares two strings by ordinal value with case sensitivity.

Pascal
function SameStr(const S1: string; const S2: string): Boolean; overload;
function SameStr(const S1: string; const S2: string; LocaleOptions: TLocaleOptions): Boolean; overload;
C++
Boolean SameStr(const AnsiString S1, const AnsiString S2);
Boolean SameStr(const AnsiString S1, const AnsiString S2, TLocaleOptions LocaleOptions);

SameStr compares S1 and S2 and returns true if they are identical. SameStr is case sensitive and is not affected by the current locale. 

 

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