Function TokenSep() Foundation
Retrieves the delimiter of a token.
TokenSep( [<lRightDelimiter>] ; // Default: .F.
) --> cDelimiter
Returns the delimiting character of a token which was retrieved using the function Token(). By default the left delimiter is returned. If <lRightDelimiter> is set .T. the function returns the delimiting character to the right of the token.
Note that TokenSep() can not be used with the incremental tokenizer (-> TokenInit() and TokenNext()). In this case the function TokenAt() must be used to determine the position of the delimiting characters:
Position of left delimiter: TokenAt() - 1
Position of right delimiter: TokenAt(.T.)
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.