Hi All,
Please look at the following code:
import java.util.*;
public class Tester {
public static void main(
String[] args) {
StringTokenizer st = new StringTokenizer("CustomeCare.$ser$",".$ser$");
while(st.hasMoreTokens()){
System.out.println(st.nextToken());
}
}
}
I am getting the output as:
Cu
tom
Ca
Does the "$"symbol has anything to do with the operation of tokenizing the String? Please explain.
Thanks in Advance!!!
dinesh.