forum

home / developersection / forums / find first comma in string, then extract value between spaces

Find first comma in string, then extract value between spaces

Anonymous User 2777 22-Dec-2014

I'm extracting rows from a txt file.

This row contains values like this:

 DESCRIPTION 1    1.234,00    15.980,00 [etc.]

I would like to extract these values (I mean only numeric values).

So I thought to find first comma, execute a for cycle backwards until first White space and execute a For cycle forward for decimals digits. The I should go to the second comma and perform these cycles again.

Can you suggest some code that could be useful for my solution?


Updated on 23-Dec-2014

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By