System.WideStrUtils.WStrPos

De RAD Studio API Documentation
Révision datée du 18 octobre 2011 à 20:58 par PyBot (discussion | contributions) (Scoping Libraries)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

Delphi

function WStrPos(const Str1, Str2: PWideChar): PWideChar;

C++

extern DELPHI_PACKAGE System::WideChar * __fastcall WStrPos(const System::WideChar * Str1, const System::WideChar * Str2);

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 PWideChar dans un autre PWideChar.

WStrPos renvoie un pointeur sur la première occurrence de Str2 dans Str1. Si Str2 n'est pas trouvé dans Str1, WStrPos renvoie nil (Delphi) ou NULL (C++).

Voir aussi