RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WideStrUtils.HasExtendCharacter Function

Checks whether the string contains non-ASCII characters.

Pascal
function HasExtendCharacter(const s: RawByteString): Boolean;
C++
Boolean HasExtendCharacter(const RawByteString s);

Call HasExtendCharacter to detect if a given string contains non-ASCII characters. All characters over 128 ($FF) are considered to be non-ASCII. 

 

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