List of StringTokenizer methods: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
m (Automatically generated page update)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- This page was automatically generated and will be automatically
<!-- This page was automatically generated and will be automatically
     replaced, so any manual edits will be lost. You've been warned. -->
     replaced, so any manual edits will be lost. You've been warned. -->
The following are the available [[StringTokenizer class]] methods.
The following are the available <var>[[StringTokenizer class|StringTokenizer]]</var> class methods.
{{Template:Method list header|class=StringTokenizer}}
{{Template:Method list header|class=StringTokenizer}}
<div class="showVisit">
<table class="wikitable">
<table class="wikitable">
<tr><th>Method</th><th>Description</th></tr>
<tr><th>Method</th><th>Description</th></tr>
Line 17: Line 18:
<tr><td valign="top">[[NextToken (StringTokenizer function)|NextToken]]</td><td valign="top">Next token forward in current tokenizer string</td></tr>
<tr><td valign="top">[[NextToken (StringTokenizer function)|NextToken]]</td><td valign="top">Next token forward in current tokenizer string</td></tr>
<tr><td valign="top">[[NotAtEnd (StringTokenizer function)|NotAtEnd]]</td><td valign="top">Is present tokenizing position at end of tokenizerstring?</td></tr>
<tr><td valign="top">[[NotAtEnd (StringTokenizer function)|NotAtEnd]]</td><td valign="top">Is present tokenizing position at end of tokenizerstring?</td></tr>
<tr><td valign="top">[[PeekChar (StringTokenizer function)|PeekChar]]</td><td valign="top">Value of character at current tokenizing position,do not advance</td></tr>
<tr><td valign="top">[[PeekChar (StringTokenizer function)|PeekChar]]</td><td valign="top">Value of character at current tokenizing position, do not advance</td></tr>
<tr><td valign="top">[[PeekPreviousChar (StringTokenizer function)|PeekPreviousChar]]</td><td valign="top">Value of previous character</td></tr>
<tr><td valign="top">[[PeekPreviousChar (StringTokenizer function)|PeekPreviousChar]]</td><td valign="top">Value of previous character</td></tr>
<tr><td valign="top">[[PeekToken (StringTokenizer function)|PeekToken]]</td><td valign="top">Value of next token in current tokenizer string, do not advance</td></tr>
<tr><td valign="top">[[PeekToken (StringTokenizer function)|PeekToken]]</td><td valign="top">Value of next token in current tokenizer string, do not advance</td></tr>
Line 23: Line 24:
<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 from returned values</td></tr>
<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 field separators</td></tr>
<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>
Line 37: Line 38:
<tr><td valign="top">[[TokensToUpper (StringTokenizer property)|TokensToUpper]]</td><td valign="top">Convert returned tokens to all-uppercase</td></tr>
<tr><td valign="top">[[TokensToUpper (StringTokenizer property)|TokensToUpper]]</td><td valign="top">Convert returned tokens to all-uppercase</td></tr>
</table>
</table>
</div>
==See also==
==See also==
<table class="list"><tr>
<table class="list"><tr>
Line 47: Line 49:
</tr>
</tr>
</table>
</table>
[[Category:Lists of methods]]

Latest revision as of 20:34, 1 November 2011

The following are the available StringTokenizer class methods.

MethodDescription
AtEndIs current tokenizing position at the end of the string?
CompressSpacesCompress intra-token spaces
CurrentQuotedIs current token a quoted token?
CurrentTokenString value of current token
CurrentTokenPositionPosition of first character in the current token
FindTokenSearch for specified token
FoldDoubledQuotesDoubled quotes treated as escaped quote char
NewCreate new StringTokenizer object
NextCharValue of character at current tokenizing position
NextPositionPosition of character at current tokenizing position
NextTokenNext token forward in current tokenizer string
NotAtEndIs present tokenizing position at end of tokenizerstring?
PeekCharValue of character at current tokenizing position, do not advance
PeekPreviousCharValue of previous character
PeekTokenValue of next token in current tokenizer string, do not advance
PreviousCharValue of previous character and step back one position
QuotesCharacters to be interpreted as quotes
QuotesBreakDo quotes break the current token?
RemoveQuotesWhether to remove quote characters around returned values of quoted tokens
RestOfStringNon-tokenized substring that follows the next token
SeparatorsCharacters to be interpreted as token separators
SkipTokensMove current token forward a specified number of tokens
SpacesCharacters to be interpreted as token-delimiting whitespace
StartOfStringSubstring that precedes first character of current token
StringThe string to be tokenized
StringLengthLength of current tokenizing string
StringUpToString from start to current position
SubstringSpecified substring within tokenizing string
TokenCharsCharacters to be interpreted as tokens
TokensToLowerConvert returned tokens to all-lowercase
TokensToUpperConvert returned tokens to all-uppercase

See also