Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfattoken()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfAtToken()
Returns the starting position of a TOKEN
------------------------------------------------------------------------------
Syntax:

     dfAtToken( <cString>, <cDelim>, <nToken> ) --> nPos

Parameters:

     <cString>  String where TOKENS are searched
     <cDelim>   TOKEN separator
     <nToken>   Number of the TOKEN to be searched

Returns:

     <nPos> Starting position of the TOKEN

Description:

     Returns the TOKEN position in a character string

Example:

     ? dfAtToken( "The CASE for CA-Clipper", " ", 2 )
                              // Returns 5
     
     ? dfAtToken( "The  CASE for CA-Clipper", " ", 4 )
                              // Returns 11
     
     ? dfAtToken( "The  CASE for CA-Clipper", "  ", 4 )
                              // Returns 15

See also:

     dfNumToken(), dfToken()

See Also: dfNumToken() dfToken()

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