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
AnsiPosFind the position of one string in another
 Download this web site as a Windows program.




 
Delphi Programming © Neil Moffatt . All rights reserved.  |  Home Page