<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>29 Dec 2015 14:33:00 Z</lastBuildDate><pubDate>29 Dec 2015 13:55:00 Z</pubDate><description>Hi All&#13;
&#13;
I'm sure I have solved this before but having a blind moment - how to remove all double spaces in a block of text and replace to a single space?&#13;
&#13;
Replace() function does not allow the replacement string to be a blank - From help...&#13;
&#13;
String to Replace: Character string (with quotes) Character string that must be replaced in the initial string.If this parameter corresponds to an empty string (""), Result will correspond to Initial String.&#13;
&#13;
Any suggestions?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces/read.awp</link><title>[WD20] - Removing double spaces</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/55662-wd20-removing-double-spaces-55666/read.awp</comments><pubDate>29 Dec 2015 14:33:00 Z</pubDate><description>Tor-Bjarne - thanks - I was not seeing it, and the help threw me, but it does work after all. Sorry!</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces-55666/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces-55666/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces/read.awp">[WD20] - Removing double spaces</source><title>Re: [WD20] - Removing double spaces</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces-55665/read.awp</comments><pubDate>29 Dec 2015 14:32:00 Z</pubDate><description>Mike&#13;
&#13;
You're right - it does work. I must indeed be having holiday blindness :) Thanks for confirming.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces-55665/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces-55665/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces/read.awp">[WD20] - Removing double spaces</source><title>Re: [WD20] - Removing double spaces</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces-55664/read.awp</comments><pubDate>29 Dec 2015 14:24:00 Z</pubDate><description>Hi JP&#13;
&#13;
I tried using x=Replace(x," "," ") where x is a string with a couple of double spaces and it worked.&#13;
&#13;
The second para…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces-55664/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces-55664/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces/read.awp">[WD20] - Removing double spaces</source><title>Re: [WD20] - Removing double spaces</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces-55663/read.awp</comments><pubDate>29 Dec 2015 14:10:00 Z</pubDate><description>Hi,&#13;
&#13;
What about:&#13;
&#13;
sResult = Replace (String1,caract(32)+caract(32),caract(32))&#13;
&#13;
Cheers&#13;
Tor-Bjarne</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces-55663/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces-55663/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55662-wd20-removing-double-spaces/read.awp">[WD20] - Removing double spaces</source><title>Re: [WD20] - Removing double spaces</title></item></channel></rss>
