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

[REBOL] Re: Parsing query.

From: carl:cybercraft at: 28-Feb-2003 12:28

On 28-Feb-03, Terry Brownell wrote:
> Ok, > Take the string... > 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"]
This isn't the best and doesn't give tidy strings, but it's simple, at least...
>> parse/all find/tail str "@" "@"
== [" test one " " test two " " some more"] -- Carl Read