December 7, 2008 at 12:29 PM
Fine i hope my suggestion can solve your problem.
Just use stringtokenizer and string methods..
call each value one by one.
if it is string keep it in a string variable...
if it is integer... just convert it and place in an integer.. if next available value is an integer better to multiply present integer by 10 and then add the next value.. if another more value is availabel do the samt thing (multiply the present value by 10 again add the resultant value) so that u can separate the values..
I am not 100% this is the right solution to solve this problem, but i did it once up on a time, yes it worked.
December 7, 2008 at 6:34 PM
String st = new String("3d41d6");
String delim = "abcdefghijklmnopqrsuvwxyz";
StringTokeizer token = new StringTokenzer(string, delim);
System.out.print(st.nextToken()); //Prints 3416