Hi Graham,

str: {this is some text with lines
in it. We want to split it into
lines in a block}

>> parse/all str "^/"
== ["this is some text with lines" "in it. We want to split it into" "lines
in a block"]

Cheers,

Allen K

----- Original Message -----
From: "Graham Chiu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 16, 2000 1:49 PM
Subject: [REBOL] creating blocks


> Just a quick question...
>
> I have some text with newlines etc that I want to convert to
> a block of lines.  I could just write it to a temporary
> file, and then do a read/lines on it, but presumably there's
> another way ...
>
> --
> Graham Chiu
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to