String (StringTokenizer property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 23: Line 23:


==Examples==
==Examples==
The following statement sets the value of the input string
The following statement sets the value of the input string
of the %toc <var>StringTokenizer</var> object:
of the <code>%toc</code> <var>StringTokenizer</var> object:
<p class="code">%toc:string = 'A String example!'
<p class="code">%toc:string = 'A String example!'
</p>
</p>

Revision as of 01:16, 6 July 2012

The string to be tokenized (StringTokenizer class)


This readWrite property returns or sets the string to be tokenized.

Syntax

%currentString = stringTokenizer:String stringTokenizer:String = newString

Syntax terms

%currentString A string variable to contain the returned or set value of the string to be tokenized. The default value is a null string.
stringTokenizer A StringTokenizer object expression.
newString The String value to assign to stringTokenizer's String property.

Usage notes

Examples

The following statement sets the value of the input string of the %toc StringTokenizer object:

%toc:string = 'A String example!'

See also