Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: java.util.StringTokenizer

A StringTokenizer constructor takes a string to break into tokens and returns a StringTokenizer object for that string.

Tutorial Details:

Purpose
The java.util.StringTokenizer class is used to break strings into tokens (words, numbers, operators, or whatever). A more powerful solution is to use regular expressions, which have been added to Java 1.4.

A StringTokenizer constructor takes a string to break into tokens and returns a StringTokenizer object for that string. Each time its nextToken() method is called, it returns the next token in that string. If you don't specify the delimiters (separator characters), blanks are the default.


 

Rate Tutorial:
http://www.roseindia.net/java/java-tips/data/strings/55stringTokenizer/10stringtokenizer.shtml

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
java.util.StringTokenizer

View Tutorial:
java.util.StringTokenizer

Related Tutorials:

Make a statement with javac!
Make a statement with javac!
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.