I'm in a bind right now. My problem is, is that I'm trying to develop a program that will scan some random generated text and delete everything but the decimal numbers. I've tried a few things to get this done right but can't seem to figure this out. Here's an good example of what I'm talking about on a output screen.
char random = Some.random.Text[12.3L]Goes.Here
I'm trying to store the 12.3(also 12.3 is random) and nothing else. How can this be done?
I suppose that 'random' is a character array and not a single character.
The easiest thing is creating a new string or character array and storing there only the numbers present in 'random'