Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

AT()

Locates the position of a substring in a main string.
---------------------------------------------------------------------------------

 Syntax

        AT(<cSearch>,<cString>) --> nPos  

 Arguments

        <cSearch>    Substring to search for      

        <cString>    Main string    

 Returns

        AT()   return the starting position of the first occurrence of 
                  the substring in the main string

 Description

      This function searches the string <cString> for the characters in
      the first string <cSearch>. If the substring is not contained
      within  the second expression,the function will return 0.

 Examples

      QOUT( "at( 'cde', 'abcdefgfedcba' ) = '" +;
      at( 'cde', 'abcsefgfedcba' ) + "'" )
  

Status

      Ready

 Compliance

      This function is CA-Clipper compatible.

 Platforms

      All

 Files

      Library is rtl



See Also: RAT()

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