String (StringTokenizer property): Difference between revisions
Jump to navigation
Jump to search
m (1 revision: CharacterMap, RandomNumberGenerator, StringTokenizer methods) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<span style="font-size:120%; color:black"><b>The string to be tokenized</b></span> | <span style="font-size:120%; color:black"><b>The string to be tokenized</b></span> | ||
[[Category:StringTokenizer methods|String property]] | [[Category:StringTokenizer methods|String property]] | ||
<!--DPL?? Category:StringTokenizer methods|String property: The string to be tokenized--> | <!--DPL?? Category:StringTokenizer methods|String property: The string to be tokenized--> | ||
<!--DPL?? Category:System methods|String (StringTokenizer property): The string to be tokenized--> | <!--DPL?? Category:System methods|String (StringTokenizer property): The string to be tokenized--> |
Revision as of 20:04, 31 December 2010
The string to be tokenized
String is a member of the StringTokenizer class.
This readWrite property returns or sets the string to be tokenized.
Syntax
%string = %tok:String
%tok:String = %string
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!'