My hat's off to Ladislav! *Very* nice!
Russell [EMAIL PROTECTED]
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 25, 2000 3:46 AM
Subject: [REBOL] Newbie question #2 - Pattern making and using? Re:(4)
> Hi,
>
> TBrownell wrote:
>
> > That works great, but how about finding more than one
> > word in the string...eg. cat: ["fat cat" "furry
> > feline"]
> > Thanks in advance
>
> cat: [["fat" "cat"] ["furry" "feline"]]
> foo: "My kitty has eaten a furry feline and a fat cat."
> words: parse foo "."
> foreach stc cat [
> if found? find words stc [
> prin "found: " print stc
> ]
> ]
>
> Regards,
> Ladislav
>
>