String (StringTokenizer property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 6: Line 6:
{{Template:StringTokenizer:String syntax}}
{{Template:StringTokenizer:String syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt><i>%string</i>
<tr><th><i>%string</i></th>
<dd>A string variable to contain the returned or set value of the string
<td>A string variable to contain the returned or set value of the string to be tokenized. The default value is a null string. </td></tr>
to be tokenized.
<tr><th><i>%tok</i></th>
The default value is a null string.
<td>A StringTokenizer object variable.</td></tr>
<dt><i>%tok</i>
</table>
<dd>A StringTokenizer object variable.
 
</dl>
==Usage notes==
==Usage notes==
<ul>
<ul>

Revision as of 19:55, 6 February 2011

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

%string A string variable to contain the returned or set value of the string to be tokenized. The default value is a null string.
%tok A StringTokenizer object variable.

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