[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Non breaking space replacement?
[Thread Prev] | [Thread Next]
- Subject: Non breaking space replacement?
- From: Bruce Steers <bsteers4@xxxxxxxxx>
- Date: Sat, 6 Dec 2025 21:31:49 +0000
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
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
| Re: Non breaking space replacement? | Lee <t.lee.davidson@xxxxxxxxx> |