char(4) not replaceable?

Dar Scott dsc at swcp.com
Sun Apr 18 18:26:56 EDT 2004


On Sunday, April 18, 2004, at 03:08 PM, Sannyasin Sivakatirswami wrote:

> I've been able to squash most of them with the function below, but
>
>   replace numToChar(4) with ""  in tText
>
> is not working...

on mouseUp
   put "abc" & numToChar(4) & "def" into x
   put length(x) & space
   replace numToChar(4) with empty in x
   put length(x)  after message
end mouseUp

   ==>

7 6

This seems to work here.  (OS X)

Unicode?

Dar Scott



More information about the use-livecode mailing list