base.StringTokenizer methods

These methods are used for parsing data strings into tokens according to the delimiters.

base.StringTokenizer methods are applied to the corresponding objects.  To declare a base.StringTokenizer object, use the DEFINE statement:

DEFINE st_object base.StringTokenizer

base.StringTokenizer methods are invoked in the following way:

CALLbase.StringTokenizer.<Method>(<parameters>)

Available methods

 base.StringTokenizer.create()

creates a base.StringTokenizer object

 base.StringTokenizer.createExt()

creates a base.StringTokenizer object from strings that contain empty tokens and escape characters

 base.StringTokenizer.countTokens()

returns the number of tokens which are still to be returned by the string tokenizer

 base.StringTokenizer.hasMoreTokens()

checks if there are more tokens to return (returns TRUE if there are such tokens, and FALSE if not)

 base.StringTokenizer.nextToken()

returns the next token from the source string

 

Contact Us

Privacy Policy

Copyright © 2026 Querix, (UK) Ltd.