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.

[463 byte] By [JohnSmitha] at [2007-10-2 5:43:42]
# 1
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 > top of Java-index,Java Essentials,New To Java...
# 2

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

JohnSmitha at 2007-7-16 1:53:46 > top of Java-index,Java Essentials,New To Java...
# 3
A string array, or a char array (see String API for latter), and this seams to work "92909".split( "" ) ?
mlka at 2007-7-16 1:53:46 > top of Java-index,Java Essentials,New To Java...
# 4
Thank you for the help :) Both bits of code your recommended work just as i needed themAll done now and the application is working as intended
JohnSmitha at 2007-7-16 1:53:46 > top of Java-index,Java Essentials,New To Java...