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

[REBOL] Re: parse to x or end

From: arolls:bigpond:au at: 2-May-2001 5:16

What are your intentions? Please give us a more specific example. Just quickly, this works: sample: "he l lo-" parse/all sample [copy text [[to "-" "-"] | to end] (print text)] I added another hyphen so it gets eaten, otherwise [to "-"] leaves it hanging and parse won't quite finish. Anton.