Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>at2()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    At2()

         Looks for the Nth occurrence into a string

    Syntax:

         At2( cSearch, cTarget [, nOcur] ) -> nPos

         cSearch : The character substring for which to search
         cTarget : The character string to search
         nOcur   : Number of the occurrence, default is 1

    Description:

         The parameters are the same than AT() of the standard library
         Cliper.lib except for nOcur that indicates de number of the
         occurrence to return. The default nOcur is 1.
         The function is Case Sensitive.

    Return:

         The same than AT().

    Example:

         ? At2 ( "a", "Manu Roibal" )      //  2
         ? At2 ( "a", "Manu Roibal", 2 )   // 10
         ? At2 ( "a", "Manu RoibAl", 2 )   // 0

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