FileDocCategorySizeDatePackage
StrTokDemo2.javaAPI DocExample308Sat Nov 25 12:56:16 GMT 2000None

StrTokDemo2

public class StrTokDemo2 extends Object
Simple StringTokenizer demo program.

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

		StringTokenizer st = 
			new StringTokenizer("Hello, World|of|Java", ", |");

		while (st.hasMoreElements())
			System.out.println("Token: " + st.nextElement());