how do you Get Numbers from String?
I have a string that contains numbers values that i need to use and break down for my application.
For example "jeff113506"
the lenght of the numbers in the string can change. However the first word at the start of the string should always be the same. I have looked at the "StringTokenizer" but that only returns the whole string, i have also looked in to "StreamTokenizer" but am unsure how to use this.
Any help would be great thanks.
If the start of the string is aways the same, maybe substring( sizeOfConstantStart, lengthOfString).Or if it has a seperator (a space maybe), split( " " )(Then look at Integer.parseInt)
mlka at 2007-7-16 1:53:46 >

Thanks the substring works great :)
And one last question, once i have the numbers out of the string i will need to break them down in to an array for each value. For example
jeff999111 after the substring would becoming 999111 then i would need to place in to an array
9
9
9
1
1
1
so i could get at the numbers for the next stage of the task