RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WideStrUtils.WStrScan Function

Returns a pointer to the first occurrence of a specified character in a PWideChar.

Pascal
function WStrScan(Str: PWideChar; Chr: WideChar): PWideChar;
C++
PWideChar WStrScan(PWideChar Str, WideChar Chr);

WStrScan returns a pointer to the first occurrence of Chr in Str. If Chr does not occur in Str, WStrScan returns nil (Delphi) or NULL (C++). The null terminator is considered to be part of the string. 

 

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