Pos
Previous  Top  Next


Prototype

IntPos:=Pos(strSub,strDest)

Description

It returns the position where the substring lies within a string.

Parameters

StrSub: substring position.

StrDest:
string where the substring has searched for.

Returned value

IntPos: integer corresponding to the substring position in the string.

Notes

It returns 0 if the substring has not been found.