System.WideStrUtils.WStrPos
Delphi
function WStrPos(const Str1, Str2: PWideChar): PWideChar;
C++
extern DELPHI_PACKAGE System::WideChar * __fastcall WStrPos(const System::WideChar * Str1, const System::WideChar * Str2);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.WideStrUtils.pas System.WideStrUtils.hpp |
System.WideStrUtils | System.WideStrUtils |
Description
Returns a pointer to the first occurrence of a PWideChar in another PWideChar.
WStrPos returns a pointer to the first occurrence of Str2 in Str1. If Str2 does not occur in Str1, WStrPos returns nil (Delphi) or NULL (C++).