Function AtToken() Foundation

Determines the position of the n-th token in a string.

Syntax
AtToken( <cString>      , ;
         [<cDelimiter>] , ;
         [<nWhichToken>]  ;
       ) --> nPosition
Return

Function AtToken() returns the position of a token within a string as a numeric value.

Description

<cDelimiter> is a string containing token delimiters. It defaults to a string containing the following characters:

CHR() - 0, 9, 10, 13, 26, 32, 138, 141 
plus  - ,.;:!?/\<>()#&%+-* 

All parts of a string which are separated by a character contained in <cDelimiter> are recognized as token.

The parameter <nWhichToken> defaults to the last token in <cString>.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.