[Gambas-user] Trim$
Jussi Lahtinen
jussi.lahtinen at gmail.com
Sun Jan 24 22:43:07 CET 2021
Please show the failed code.
Jussi
On Sun, Jan 24, 2021 at 11:35 PM Shane <buster6seven at gmail.com> wrote:
> Morning all
>
> I was in the need to remove spaces from a string today so I looked at the
> docs for the answer
>
> and found Trim$
>
> *Strip white spaces from the left and from the right of the string **Expr**
> .*
>
> *A white space is any character whose ASCII code is strictly lower than 32*
> .
>
> yep thats what I need but it did not work so I looked up ascii character
> for Space and found it was 32
>
> so yes this would not work! My question, is this by design? or should
> ascii 32 be included?
>
>
> Cheers Shane
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210124/8eddc0b0/attachment.htm>
More information about the User
mailing list