Delphi's Pos function returns an integer specifying the position of the first occurrence of one string within another.
delphi.about.com