checking float inside a string and return result?
<p>I have a text file which i geline to a string. the file is like this: 0.2abc 0.2 .2abc .2 abc.2abc abc.2 abc0.20 .2 . 20</p>

<p>i wanna check the result then parse it in to separate float. The result is: 0.2 0.2abc 2 20 2abc abc0.20 abc</p>

<p>this is expalined: check if there is 2 digit (before and after '.' (full stop)) whether with char or not. If only 1 site of the '.' is digit the '.' will be full stop.</p>

<p>The question is, how can i parse a STRING to separate result like that? I did use iterator to check the '.' and pos of it, but still got stuck.</p>

<p>Thx alot</p>

<p>Mongoloid</p>
