List of StringTokenizer methods: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 23: | Line 23: | ||
<tr><td valign="top">[[Quotes (StringTokenizer property)|Quotes]]</td><td valign="top">Characters to be interpreted as quotes</td></tr> | <tr><td valign="top">[[Quotes (StringTokenizer property)|Quotes]]</td><td valign="top">Characters to be interpreted as quotes</td></tr> | ||
<tr><td valign="top">[[QuotesBreak (StringTokenizer property)|QuotesBreak]]</td><td valign="top">Do quotes break the current token?</td></tr> | <tr><td valign="top">[[QuotesBreak (StringTokenizer property)|QuotesBreak]]</td><td valign="top">Do quotes break the current token?</td></tr> | ||
<tr><td valign="top">[[RemoveQuotes (StringTokenizer property)|RemoveQuotes]]</td><td valign="top">Whether to remove quote characters | <tr><td valign="top">[[RemoveQuotes (StringTokenizer property)|RemoveQuotes]]</td><td valign="top">Whether to remove quote characters around returned values of quoted tokens</td></tr> | ||
<tr><td valign="top">[[RestOfString (StringTokenizer function)|RestOfString]]</td><td valign="top">Non-tokenized substring that follows the next token</td></tr> | <tr><td valign="top">[[RestOfString (StringTokenizer function)|RestOfString]]</td><td valign="top">Non-tokenized substring that follows the next token</td></tr> | ||
<tr><td valign="top">[[Separators (StringTokenizer property)|Separators]]</td><td valign="top">Characters to be interpreted as | <tr><td valign="top">[[Separators (StringTokenizer property)|Separators]]</td><td valign="top">Characters to be interpreted as token separators</td></tr> | ||
<tr><td valign="top">[[SkipTokens (StringTokenizer subroutine)|SkipTokens]]</td><td valign="top">Move current token forward a specified number of tokens</td></tr> | <tr><td valign="top">[[SkipTokens (StringTokenizer subroutine)|SkipTokens]]</td><td valign="top">Move current token forward a specified number of tokens</td></tr> | ||
<tr><td valign="top">[[Spaces (StringTokenizer property)|Spaces]]</td><td valign="top">Characters to be interpreted as token-delimiting whitespace</td></tr> | <tr><td valign="top">[[Spaces (StringTokenizer property)|Spaces]]</td><td valign="top">Characters to be interpreted as token-delimiting whitespace</td></tr> |
Revision as of 15:26, 6 February 2011
The following are the available StringTokenizer class methods.
Method | Description |
---|---|
AtEnd | Is current tokenizing position at the end of the string? |
CompressSpaces | Compress intra-token spaces |
CurrentQuoted | Is current token a quoted token? |
CurrentToken | String value of current token |
CurrentTokenPosition | Position of first character in the current token |
FindToken | Search for specified token |
FoldDoubledQuotes | Doubled quotes treated as escaped quote char |
New | Create new StringTokenizer object |
NextChar | Value of character at current tokenizing position |
NextPosition | Position of character at current tokenizing position |
NextToken | Next token forward in current tokenizer string |
NotAtEnd | Is present tokenizing position at end of tokenizerstring? |
PeekChar | Value of character at current tokenizing position, do not advance |
PeekPreviousChar | Value of previous character |
PeekToken | Value of next token in current tokenizer string, do not advance |
PreviousChar | Value of previous character and step back one position |
Quotes | Characters to be interpreted as quotes |
QuotesBreak | Do quotes break the current token? |
RemoveQuotes | Whether to remove quote characters around returned values of quoted tokens |
RestOfString | Non-tokenized substring that follows the next token |
Separators | Characters to be interpreted as token separators |
SkipTokens | Move current token forward a specified number of tokens |
Spaces | Characters to be interpreted as token-delimiting whitespace |
StartOfString | Substring that precedes first character of current token |
String | The string to be tokenized |
StringLength | Length of current tokenizing string |
StringUpTo | String from start to current position |
Substring | Specified substring within tokenizing string |
TokenChars | Characters to be interpreted as tokens |
TokensToLower | Convert returned tokens to all-lowercase |
TokensToUpper | Convert returned tokens to all-uppercase |