StrPos (function) (Strings unit)

Language:
Русский
English

 StrPos (function)     (Strings unit)


Returns a pointer to the first occurrence of a string in another string.

Declaration

 function StrPos(Str1, Str2: PChar): PChar;

Target

Windows

Return Value

nil if Str2 does not occur in Str1

Remarks

StrPos returns a pointer to the first occurrence of Str2 in Str1. If Str2 does not occur in Str1, StrPos returns nil.

Sample Code

Тэги: StrPos
| G+
Код для вставки: :: :: :: ::
Поделиться: // //