xRPG Core Library Procedures - RNBSTRING: getTokens()
Return tokens in a string.
The tokens will be placed in the array the "tokensPtr" points to. The array should be defined with
100 length varying strings and 999 elements.
Usage:
tokenCount = getTokens( string : tokensPtr : {token} );
| string |
1024 |
Value Varying |
Req |
The string to tokenize. |
| tokensPtr |
* |
Const |
Req |
A pointer to an array that will recieve the tokens. |
| token |
1A |
Const |
Opt |
The token to tokenize the string by: if not sent defaults to ' '. |
| Returns: |
3,0 |
n/a |
n/a |
Returns the number of fields tokenized. |