Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: parse to x or end

From: fsievert:uos at: 2-May-2001 9:02

On Wed, 2 May 2001, Fantam wrote:
> > The following syntax is incorrect. Is there any way to accomplish my > > intentions? > > > parse/all sample [copy text to ["-" | end] (print text)]
Yes: parse/all sample [copy text [to "-" | to end] (print text)] CU, Frank