DelphiBasics
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
 Download this web site as a Windows program.
 
 
Delphi Programming Neil Moffatt 2002 - 2013. All rights reserved.  |  Contact the author  |  Home Page