Hi Stefan
>I've read a textfile with read/lines....is there an easy way to remove a
>line from the data?
>
>it goes something like:
>
>data: read/lines %blaah.txt
>
>if find data "plupp" [remove the line] <--- of course there oughta be some
>easy code there.. ;)
>
if "plupp" is the entire line, you can use
>> remove find data "plupp"
Do not look at what returns this line, look at what is left in data
or you can use
>> replace data "plupp" ""
Beware that this leaves empty lines in data.
if "plupp" is a string in the line you want to remove, you have to use parse
>> foreach line data [parse line [to "plupp" (clear line)]]
Also this leaves empty lines in data.
Daniel