char as word boundary
Neville Smythe
neville.smythe at optusnet.com.au
Fri Jun 3 18:49:08 EDT 2022
Jean-Jacques
In 9.6.8
the number of chars of (numtochar(32)& numtochar(202)&numtochar(32)& numtochar(202)&numtochar(32)) = 5
As it should be.
Did you mean the number of words?
But then
the number of words of (numtochar(32)& numtochar(202)&numtochar(32)& numtochar(202)&numtochar(32)) = 0 (in 9.6.8)
As it should be.
Char 202 is unicode for an invisible char marking a paragraph end I believe, I think rarely used until recently. It has been turning up in web sites causing difficulty for old parsers.
Neville
>
> Hypercard and livecode 6.7: the number of chars (numtochar(32)& numtochar(202)&numtochar(32)& numtochar(202)&numtochar(32)) = 2
> livecode 9.67 : the number of chars (numtochar(32)& numtochar(202)&numtochar(32)& numtochar(202)&numtochar(32)) = 0
>
> Is it a change or a bug considering now numtochar(202) as word boundary, as it is with numtochar(32)
>
More information about the use-livecode
mailing list