RPGNext
Take Your RPG Development to theNextLevel
Site Links
Home
RPG Programming
xRPG Downloads
xRPG Docs
About This Site
About Me

RPG Gurus
Bob Cozzi
Brad Stone
Scott Klement
Jon Paris

iSeries Links
Alpha Works
Midrange.com
FAQ@Midrange.com
MidrangeServer.com
IBM Docs
iSeries Infocenter
MCPress
Easy400
API Finder

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} );

Name Type Options Opt/Req Description
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.

This site conforms with the following W3C specifications:

Web Essentials

Contact