<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>29 Mar 2019 12:20:46 Z</lastBuildDate><pubDate>28 Mar 2019 14:21:55 Z</pubDate><description>Bonjour,&#13;
&#13;
J'ais un problème de comparaison de chaînes qui donne faux alors qu’apparemment en terme d’affichage elles sont identiques.&#13;
&#13;
En regardant avec le débogueur :&#13;
ch1="1.&lt;ESP&gt;Livres"  et ch2= "1.  Livres" (sur le coup, ch1=ch2 donne faux et c'est normal.)&#13;
&#13;
La ch1 vient d'une base de données MySQL (mais certaines données n'ont pas &lt;ESP&gt;)&#13;
&#13;
Cela m'intrigue un peu.&#13;
&#13;
Je ne sais pas d'où vient ce &lt;ESP&gt; , je vais faire un remplacement de &lt;ESP&gt; par " " mais bon ....&#13;
&#13;
Une idée ?&#13;
&#13;
merci&#13;
&#13;
OB</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte/read.awp</link><title>Caractère &lt;ESP&gt; dans une chaîne texte</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>laurent.systel</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225159/read.awp</comments><pubDate>29 Mar 2019 12:20:46 Z</pubDate><description>Je t'assure que cela fonctionne.&#13;
Essaie cela:&#13;
&#13;
[code:wl]&#13;
sCh1 est une chaîne = &#13;
("12345"+Caract(160)+"12345"+Caract(160)+"1…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225159/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225159/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte/read.awp">Caractère &lt;ESP&gt; dans une chaîne texte</source><title>Re: Caractère &lt;ESP&gt; dans une chaîne texte</title></item><item><author>obtuli</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225155/read.awp</comments><pubDate>29 Mar 2019 11:02:54 Z</pubDate><description>Bonjour Eric,&#13;
J'ai un petit doute, mais je pense avoir essayé et ça ne marche pas.&#13;
merci&#13;
Cordialement&#13;
Didier</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225155/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225155/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte/read.awp">Caractère &lt;ESP&gt; dans une chaîne texte</source><title>Re: Caractère &lt;ESP&gt; dans une chaîne texte</title></item><item><author>laurent.systel</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225148/read.awp</comments><pubDate>29 Mar 2019 09:16:04 Z</pubDate><description>Tu as plus simple en une seule ligne de code:&#13;
&#13;
sChaine est une chaîne= remplace(ch1,caract(160)," ")</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225148/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225148/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte/read.awp">Caractère &lt;ESP&gt; dans une chaîne texte</source><title>Re: Caractère &lt;ESP&gt; dans une chaîne texte</title></item><item><author>obtuli</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225133/read.awp</comments><pubDate>28 Mar 2019 16:41:05 Z</pubDate><description>Bonjour,&#13;
&#13;
Merci pour vos réponses.&#13;
&#13;
Remplace(Ch1,ESP," ") ne fonctionne pas non plus.&#13;
Dans mes chaîne c'est bien le code 16…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225133/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225133/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte/read.awp">Caractère &lt;ESP&gt; dans une chaîne texte</source><title>Re: Caractère &lt;ESP&gt; dans une chaîne texte</title></item><item><author>BSC</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225124/read.awp</comments><pubDate>28 Mar 2019 14:53:26 Z</pubDate><description>Bonjour,&#13;
&#13;
Dans les jeux de caractères ASCII, il y a 2 types de caractère d'espacement :&#13;
- l'espace standard (code ASCII 32)&#13;
…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225124/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225124/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte/read.awp">Caractère &lt;ESP&gt; dans une chaîne texte</source><title>Re: Caractère &lt;ESP&gt; dans une chaîne texte</title></item><item><author>François C.</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225123/read.awp</comments><pubDate>28 Mar 2019 14:48:55 Z</pubDate><description>@Popoy Merci , c'est bien 160 et non 32, je venais de m'en rendre compte en lisant un autre poste :)</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225123/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225123/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte/read.awp">Caractère &lt;ESP&gt; dans une chaîne texte</source><title>Re: Caractère &lt;ESP&gt; dans une chaîne texte</title></item><item><author>Popoy</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225122/read.awp</comments><pubDate>28 Mar 2019 14:45:52 Z</pubDate><description>Esp c'est le caractère espace insécable 160 ,&#13;
tu doit faire remplace(ch1,caract(160)," ")&#13;
voir : https://doc.windev.com/fr-FR/…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225122/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225122/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte/read.awp">Caractère &lt;ESP&gt; dans une chaîne texte</source><title>Re: Caractère &lt;ESP&gt; dans une chaîne texte</title></item><item><author>François C.</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225121/read.awp</comments><pubDate>28 Mar 2019 14:45:20 Z</pubDate><description>sChaine est une chaîne= remplace(ch1,"&lt;ESP&gt;"," ") donne toujours "1.&lt;ESP&gt;Livres" &#13;
&#13;
C'est normal, ce que tu vois dans le debugg…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225121/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225121/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte/read.awp">Caractère &lt;ESP&gt; dans une chaîne texte</source><title>Re: Caractère &lt;ESP&gt; dans une chaîne texte</title></item><item><author>obtuli</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225119/read.awp</comments><pubDate>28 Mar 2019 14:32:31 Z</pubDate><description>sChaine est une chaîne= remplace(ch1,"&lt;ESP&gt;"," ") donne toujours "1.&lt;ESP&gt;Livres" !&#13;
&#13;
sur le coup mes tests ne sont pas bons.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225119/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte-225119/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/225118-caractere-esp-dans-chaine-texte/read.awp">Caractère &lt;ESP&gt; dans une chaîne texte</source><title>Re: Caractère &lt;ESP&gt; dans une chaîne texte</title></item></channel></rss>
