[REBOL] Re: parsing through # of characters
From: al:bri:xtra at: 14-Nov-2000 15:32
> I want to parse a string through to a keyword and copy text thru 100
characters beyond the keyword. How can I do this?
> I thought this might work, but I've got it wrong...
> if find file-contents keyword [
> parse file-contents [
> to keyword copy text 100 (append pages-with-keyword text)
Check out page 435 "Skipping Input" from the Rebol Core.pdf manual. This
should do the trick:
to keyword copy text 100 skip (append pages-with-keyword text)
I hope that helps!