StrUtils.PosEx

From RAD Studio VCL Documentation (German)
Jump to: navigation, search

Contents

Delphi-Informationen

von StrUtils.pas

	function PosEx(const SubStr: string;
		const S: string;
		Offset: Integer = $1): Integer; overload;


Unit: StrUtils

Typ: Funktion

Sichtbarkeit: public

C++-Informationen

von StrUtils.hpp

	int __fastcall PosEx(System::UnicodeString SubStr, System::UnicodeString S, int Offset);


Unit: StrUtils

Typ: Funktion

Beschreibung

Gibt den Indexwert eines Teilstrings zurück.


PosEx gibt den Index von SubStr in S zurück, wobei die Suche bei Offset begonnen wird. Wenn Offset 1 ist (Vorgabe), entspricht PosEx Pos.

PosEx gibt 0 zurück, wenn SubStr nicht gefunden wird, Offset größer als die Länge von S ist oder Offset kleiner als 1 ist.

Siehe auch

Personal tools