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

[REBOL] Re: Parsing query.

From: chris::langreiter::com at: 28-Feb-2003 1:28

> str: "This is @ test one @ test two @ some more" > What is the best way to parse this so I end up with... > n: ["test one" "test two" "some more"]
n: copy [] c: complement charset "@" parse str [ any c any ["@" [copy t any c (append n trim t)]] ] HTH, -- Chris