Delphi Basics
Pos
Obsolete
Find the position of one string in another System unit
 function Pos ( const Needle, HayStack : string ) : Integer;
Description
The Pos function finds the position of one string Needle within another HayStack.
 
If the string is not found, 0 is returned.
 
The search is case sensitive.
Notes
Warning : you should ideally use AnsiPos instead of Pos since the former supports wide character sets.
Related commands
AnsiPos Find the position of one string in another
 
 
© CodeGear 2006 - 2007. All rights reserved.  |  Home Page