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);

SysUtils

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

 

SameText 

CompareStr 

CompareText 

AnsicompareStr 

AnsicompareText 

CompareMem

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!