System.WideStrUtils.WStrScan

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function WStrScan(Str: PWideChar; Chr: WideChar): PWideChar;

C++

extern DELPHI_PACKAGE System::WideChar * __fastcall WStrScan(System::WideChar * Str, System::WideChar Chr);

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 specified character in a PWideChar.

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

See Also