[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Non breaking space replacement?


Is there a simple way to replace all non breaking spaces in a string for
normal spaces?
FromHtml does not work because there may also be < or > chars I do not want
converted

The string is otherwise fine,
It is Gambas code being passed from element.innerText (js) as a base64
encoded uri query string.
On the Gambas side just FromBase64 decodes it okay apart from it has nbsp
for spaces  instead of just sp and it breaks things.

I found a JavaScript way to do it client side but wondered if a there's
simple Gambas way I haven't yet tried (I tried a few things but no success)

Tia
Respects
BruceS

Follow-Ups:
Re: Non breaking space replacement?Lee <t.lee.davidson@xxxxxxxxx>