Use String.split() method. It can take array of strings as arguments. StringTokenizer can/may be deprecated in the present/future releases.
Yes game I agree. I didn't even think anyone used StringTokenizer anymore!
Here is a quick example of the Split method:
String myString = "a||b||c";
String[] split = myString.split("||");
System.out.println(split[1]+","+split[4]+","+split[7]);
Output: