Returns a pointer to first occurrence of a specified character in a string.
function StrScan(const Str: PChar; Chr: Char): PChar;
const char * StrScan(const const char * Str, Char Chr);
SysUtils
StrScan returns a pointer to the first occurrence of Chr in Str. If Chr does not occur in Str, StrScan returns nil (Delphi) or NULL (C++). The null terminator is considered to be part of the string.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|