String (StringTokenizer property): Difference between revisions
Jump to navigation
Jump to search
m (→Usage notes) |
m (→Usage notes) |
||
Line 14: | Line 14: | ||
<td>The String value to assign to <var class="term">stringTokenizer</var>'s <var>String</var> property.</td></tr> | <td>The String value to assign to <var class="term">stringTokenizer</var>'s <var>String</var> property.</td></tr> | ||
</table> | </table> | ||
== | ==Usage notes== | ||
<ul> | <ul> | ||
<li>When the <var>String</var> method assigns a string, it | <li>When the <var>String</var> method assigns a string, it |
Revision as of 01:15, 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
- When the String method assigns a string, it
resets to
0
the NextPosition value, and it invalidates the value of CurrentToken and the value of CurrentTokenPosition.
Examples
The following statement sets the value of the input string of the %toc StringTokenizer object:
%toc:string = 'A String example!'