5:55 PM
>> To: [EMAIL PROTECTED]
>> Subject: [REBOL] Removing lines... Re:
>>
>> Hi Stefan:
>> I have attached a file called "remove.r". It has
>> two functions that were provided to me by other members
>> of the mailing list. Perhaps t
Hi,
Uhm.. yeah, but where's the attachment? =)
//Best Regards
Stefan Falk
> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 13, 2000 5:55 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Removing lines... Re:
>
irst data remove data][data:
next data]
>> ]
ipfttremsert
stremunrtity
>> print mold head data
["asgnertiue" "fdyiaref" "aqwsedfbnkmuip;" "serybrtyaw"]
- Michael Jelinek
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROT
[EMAIL PROTECTED] wrote:
>
> Hi list,
> I've read a textfile with read/linesis 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..
Hi Stefan:
I have attached a file called "remove.r". It has
two functions that were provided to me by other members
of the mailing list. Perhaps there are others that
would find it useful. The first one is the one that I
was looking for. It will replace text between two markers,
so that it
Hi Stefan
>I've read a textfile with read/linesis 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,
REBOL []
secure none
out: make string! 10
words: copy []
foreach fields next read/lines %blaah.txt [
checker: true
clear words
foreach word parse fields newline [append words word]
firstword: pick words 1
if firstword = "pluup" [
cle
Hi list,
I've read a textfile with read/linesis 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.. ;)
Best Regards
Stefan Falk