String (StringTokenizer property): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 7: | Line 7: | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th | <tr><th>%string</th> | ||
<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> | <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> | ||
<tr><th | <tr><th>%tok</th> | ||
<td>A StringTokenizer object variable.</td></tr> | <td>A StringTokenizer object variable.</td></tr> | ||
</table> | </table> |
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
- 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!'