RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
UnicodeString::IsLeadSurrogate Method

Tests if element is lead surrogate.

Pascal
function IsLeadSurrogate(index: Integer): bool;
C++
__fastcall bool IsLeadSurrogate(int index) const;

System::UnicodeString::IsLeadSurrogate returns true if the indexed element is a lead surrogate and false otherwise. Note that index is an element index into the string, not a character or byte index. 

 

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