Language:
Русский
English
Pos (function)
Searches for a substring in a string.
Declaration
function Pos(Substr: String; S: String): Byte;
Target
Windows, Real, Protected
Remarks
Substr and S are string-type expressions. Pos searches for Substr within S, and returns an integer value that is the index of the first character of Substr within S. If Substr is not found, Pos returns zero.