System.WideStrUtils.WStrScan

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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 (Delphi) or NULL (C++). The null terminator is considered to be part of the string.

See Also