System.WideStrUtils.WStrScan
Delphi
function WStrScan(Str: PWideChar; Chr: WideChar): PWideChar;
C++
extern DELPHI_PACKAGE System::WideChar * __fastcall WStrScan(System::WideChar * Str, System::WideChar Chr);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.WideStrUtils.pas System.WideStrUtils.hpp |
System.WideStrUtils | System.WideStrUtils |
Description
Renvoie un pointeur sur la première occurrence d'un caractère spécifié dans un PWideChar.
WStrScan renvoie un pointeur sur la première occurrence de Chr dans Str. Si Chr n'est pas trouvé dans Str, WStrScan renvoie nil (Delphi) ou NULL (C++). Le terminateur null fait partie de la chaîne.