<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>23 Jan 2015 15:55:24 Z</lastBuildDate><pubDate>21 Jan 2015 09:19:47 Z</pubDate><description>Hi guys,&#13;
&#13;
I have the need to correctly split the following string coming from a csv file:&#13;
&#13;
&#13;
POO0132,MN2111AB,"02 - 03","167,66","391,44","61,15","405,95","61,97","174,35","73,27","250,93","0,84","0,85","0,35","20,42","1,04","0,21","0,57","0,75","0,7788","0,46","567,4",17,0,0,1,0,"0,34","1310,1","0,31","0,02",0,0,"7,54","5,76","41,48","44,81","0,08","-107,19","-107,4",-108,"23,96","2,52","26,48","8,6","12,5","118833,3","51100,8","0,02","0,01","0,05","0,93","0,58","0,16","0,7","0,03",4,5,"9,51","1,33","3105,1","445,1","118,7","3549,4","47,9"&#13;
&#13;
&#13;
As we can see the comma ( , ) is used as the separator for the columns but it also is used as the separator for the decimals. The columns where the numeric values are located are identified with the double quote.&#13;
If I open this file in Microsoft Excel it automatically opens it in the correct way. Is there any built in function in Windev 19 that does the same thing? My need is to extract some specific values from this string but if I use ExtractString using the comma as separator I don't get the correct values (except the first two sub-strings).&#13;
&#13;
I have written a small routine that converts the original string in a way that I can use ExtractString with no problems but I need to cycle on the whole string and this takes a very long time to parse the file because I have almost 100000 rows.&#13;
&#13;
Any alternative way?&#13;
&#13;
&#13;
Kindest Regards,&#13;
Antonino</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string/read.awp</link><title>Split a string</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>antonino.neri</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-50042/read.awp</comments><pubDate>23 Jan 2015 15:55:24 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
actually the file I need to parse has 91000 rows and its size is, more or less, 45 MB. So according your post I m…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-50042/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-50042/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string/read.awp">Split a string</source><title>Re: Split a string</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-50037/read.awp</comments><pubDate>23 Jan 2015 11:45:28 Z</pubDate><description>Hi Antonino&#13;
&#13;
believe me when I say that you are barking up the wrong tree... Your &#13;
speed problem is the freadline, NOT the pr…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-50037/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-50037/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string/read.awp">Split a string</source><title>Re: Split a string</title></item><item><author>antonino.neri</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-50028/read.awp</comments><pubDate>23 Jan 2015 10:07:02 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
once again thanks for your care.&#13;
&#13;
In fact I am one of those who make the mistake you are talking about.&#13;
At the…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-50028/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-50028/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string/read.awp">Split a string</source><title>Re: Split a string</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-50001/read.awp</comments><pubDate>22 Jan 2015 10:58:41 Z</pubDate><description>Hi Antonino&#13;
&#13;
I do not know how you implemented your process, so, just in case...&#13;
&#13;
A mistake that lots of people are doing wh…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-50001/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-50001/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string/read.awp">Split a string</source><title>Re: Split a string</title></item><item><author>antonino.neri</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-49997/read.awp</comments><pubDate>22 Jan 2015 09:36:49 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
thanks a lot for yourcare and for your idea. I'll try to implement it in hope it reduces the computational time.&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-49997/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-49997/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string/read.awp">Split a string</source><title>Re: Split a string</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-49988/read.awp</comments><pubDate>21 Jan 2015 20:03:21 Z</pubDate><description>Hi Antonino&#13;
&#13;
if the first two columns are the only one without commas, you can do &#13;
extractstring on commas twice, then extrac…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-49988/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string-49988/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49981-split-string/read.awp">Split a string</source><title>Re: Split a string</title></item></channel></rss>
