Users Pricing

forum

Home Forums Find first comma in string, then extract value between spaces – MindStick

Find first comma in string, then extract value between spaces

Anonymous User 2896 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?


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md