Re: Strip a ™ character

JB sundown at pacifier.com
Wed Oct 1 12:56:25 EDT 2014


It could be I am writing the part below wrong.

repeat with x = 1 to the len of theData -8 step 8

What I am trying to do is get 8 characters and process
the eight characters and do it for the length of theData.
Is that written wrong?

John Balgenorth


On Oct 1, 2014, at 8:35 AM, JB <sundown at pacifier.com> wrote:

> I am converting binary to hex and
> this code is giving me a problem.
> 
>   replace return with empty in theData
>   repeat with x = 1 to the len of theData -8 step 8
>      put BaseConvert(char x to (x+7) of theData,2,16) into theConv
>      put theConv after tData
>   end repeat
> 
> The first thing I do is strip the returns.
> It works good for a single line but for
> some reason a hidden character is put
> in the file where a retun was.  If I only
> had one return and it is at the end of
> the line when it is converted back to
> ascii the return is replace with a ™.
> It does not have the period after.
> 
> Does anyone know how to strip the ™ character?
> 
> John Balgenorth
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 





More information about the use-livecode mailing list