FileDocCategorySizeDatePackage
StrTokDemo3.javaAPI DocExample314Sat Nov 25 12:56:16 GMT 2000None

StrTokDemo3

public class StrTokDemo3 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", ", |", true);

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