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

[REBOL] Re: Remove quote marks & LEFT(), RIGHT() ?

From: kevin:sunshinecable at: 15-Dec-2000 10:43

On Fri, 15 Dec 2000, Donald Dalley wrote:
> What is the REBOL way of removing quotes (") from strings?
You need to escape the quote. To remove all quotes from a string: replace/all src-string "^"" ""
> Alternatively, how do we PARSE using quotes as targets?
Same idea. Escape the " with a ^. Here's a sample line ripped from one of my web miners that uses " as targets. parse/all b [ any [copy c to "onClick=^"" copy e thru "false;^"" (append d c)] ] Cheers, Kev