<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>21 Jun 2015 13:49:00 Z</lastBuildDate><pubDate>21 Jun 2015 04:08:00 Z</pubDate><description>Hello All&#13;
&#13;
I am converting Excel data by reading the rows in an Excel file.&#13;
I am reading the data in row 1 of the file as Column headings to determine how to treat the data&#13;
SWITCH NoSpace(LColHeader)&#13;
CASE "Code"&#13;
&#13;
The data in the cell is "Code " and neither the NoSpace() or Left() functions will strip off the spaces on the end. It is not just the data in row 1, a fair bit of the other data has spaces at the end that cannot be removed by these functions&#13;
I have changed the code to Position() and that works fine but I am curious if any one has a solution or any ideas as to what is going on.&#13;
&#13;
The data was actually collected from a screen display of General Ledger accounts from a web page of the Xero Accounting software as a copy and then paste into an Excel page and then converted to csv so maybe that process introduced some sort of "hard" space that Windev doesn't recognise as a normal space ?&#13;
&#13;
Regards&#13;
Al</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data/read.awp</link><title>[WD19] Nospace() and Left() not working with data from Excel</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data-52826/read.awp</comments><pubDate>21 Jun 2015 13:49:00 Z</pubDate><description>Hello Al,&#13;
&#13;
Well.. it is a hard space that is supposed to always stay in place... And as a simple replace will do the job IF/WH…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data-52826/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data-52826/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data/read.awp">[WD19] Nospace() and Left() not working with data from Excel</source><title>Re: [WD19] Nospace() and Left() not working with data from Excel</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data-52825/read.awp</comments><pubDate>21 Jun 2015 07:57:00 Z</pubDate><description>Hello Fabrice&#13;
&#13;
Thanks for the idea. I just used a hex editor and pasted it in though :)&#13;
&#13;
The spaces in the file are Hex A0. …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data-52825/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data-52825/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data/read.awp">[WD19] Nospace() and Left() not working with data from Excel</source><title>Re: [WD19] Nospace() and Left() not working with data from Excel</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data-52823/read.awp</comments><pubDate>21 Jun 2015 04:37:00 Z</pubDate><description>Hello Al,&#13;
&#13;
to know whats what, put the value coming from excel in a buffer, then do a buffertohexa and display the result... Y…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data-52823/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data-52823/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52822-wd19-nospace-and-left-not-working-with-data/read.awp">[WD19] Nospace() and Left() not working with data from Excel</source><title>Re: [WD19] Nospace() and Left() not working with data from Excel</title></item></channel></rss>
