base.StringTokenizer.nextToken

Returns the next token found in the source string.

Syntax

nextToken()
  RETURNING result STRING

Usage

The nextToken() method parses the source string for tokens, according to the creation method used, and returns the next token if found.

The method returns NULL if no token is found, or if an empty token was found and the nulls parameter of the createExt() method was set to TRUE.

Use the hasMoreTokens() method to check if more tokens are to be read.