Hi Stuart,

On Wednesday, April 6, 2005 you wrote:


> I want to send an email to these users to tell them when the system is
> going to be down, how can I extract the email address from each line?

Not elegant, but this skeleton works:

> log: [
>  "blah blah blah blah [EMAIL PROTECTED] blah blah blah"
>  "blah blah [EMAIL PROTECTED] blah blah blah"
>  "blah blah blah blah [EMAIL PROTECTED] blah blah"
> ]
> 
> foreach line log [
>     b: parse line " "
>     foreach field b [
>         if found? find field "@" [
>             print field
>         ]
>     ]
> ]

HopeThisHelps,

Dick, who STILL checks in every now 'n then;-)

-- 
Homepage: http://www.europa.com/~dwhiting Last Updated: February 14, 2003

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to