Im having a String Array as
String[] input = {"$abs gf ,sd df,$ascd sr adf dfa -mcont 100, 434" , "$abs,sd,$ascd sr adf dfa -mcont 900, 43" };
Now I tried to tokenize and got four Tokens.The thrid token last value say 100 and 900 on the above example which is my required output. From the four tokens, how can i go through only to the 3rd token last element???
Kindly use StringTokenizer API,I dont want String split() functions to handle it.