GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.oracle.com — StringTokenizer (Java SE 25 & JDK 25) Class StringTokenizerjava.lang.Object
java.util.StringTokenizer
The string tokenizer class allows an application to break a
string into tokens. The tokenization method is much simpler than
the one used by the
StreamTokenizer class. The
StringTokenizer methods do not distinguish among
identifiers, numbers, and quoted strings, nor do they recognize
and skip comments.
The set of delimiters (the characters that separate tokens) may be specified either at creation time or on a per-token basis.
An instance of
A
A token is returned by taking a substring of the string that was used to
create the The following is one example of the use of the tokenizer. The code:
prints the following output:
The following example illustrates how the
prints the following output:
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |