If you are truly restricted, you could do this the tedious way with something like this (if they are just ints):
String s = "121310,4546430,-567898570,2034300";
System.out.println("String:"+s);
System.out.println("Numbers:");
StringTokenizer toke = new...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.