RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.WideSameStr Function

Compares Unicode strings based on the current locale with case sensitivity.

Pascal
function WideSameStr(const S1: WideString; const S2: WideString): Boolean;
C++
Boolean WideSameStr(const BSTR S1, const BSTR S2);

WideSameStr 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, Ffalse otherwise. 

 

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