Stripping CRLF from incoming html files

Yves COPPE yvescoppe at skynet.be
Wed Nov 10 01:37:46 EST 2004


Le 10 nov. 04, à 05:05, Dar Scott a écrit :

>
> On Nov 9, 2004, at 8:55 PM, Sannyasin Sivakatirswami wrote:
>
>> I tried
>>
>> replace CRLF with numToChar(10)
>>
>> but it didn't work
>>
>> I tried
>>
>> replace numToChar(13) with ""  in tInputData
>>
>> it also didn't work
>>
>> I'm missing something really simple here.
>
> Try this
>
>      replace CRLF with LF  -- same effect as your second one above
>
> That will remove all numToChar(13).
>
> Then do this several times
>
>      replace (LF & LF) with LF
>
>
> That will get rid of extra lines, leaving only one line.  (I assume 
> you want the one line.)
>
> Dar
>
>


Try this :

filter tInputData with "*?"

Greetings.

Yves COPPE
yvescoppe at skynet.be


More information about the use-livecode mailing list