Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> pos scan string for sub string pp 72</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 POS                      Scan String for Sub String                   pp 72

 Syntax:  Pos (SubStr,String) ;

 Type:    Integer

 Form:    Function

 Purpose: Scan String for first occurrence of SubStr.


 ----------------------------------------------------------------------------


 Usage:
       VAR
          IntVar : Integer           ;
          Str    : String [80]       ;
          SubStr : String [10]       ;

       BEGIN
          IntVar := Pos (SubStr,Str) ;
       END.

See Also: Concat Copy Delete Insert Length

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson