Since you aren't replacing it with anything, just use trim/with (instead of
using replace).

trim/with {This is a "test} {"}
== "This is a test"

you can also use trim/with to remove many characters in one pass

trim/with {this is a test} {aeiou}
== "ths s  tst"

Cheers,

Allen K


----- Original Message -----
From: "Graham Chiu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 16, 2000 5:42 AM
Subject: [REBOL] Re: Remove quote marks & LEFT(), RIGHT() ?


> On Fri, 15 Dec 2000 13:07:31 REBOL Time Zone
>  Donald Dalley <[EMAIL PROTECTED]> wrote:
>
> >
> > What is the REBOL way of removing quotes (") from
> > strings?
>
> this is another way:
>
> >> test: {This is a "test}
> == {This is a "test}
> >> replace/all test {"} ""
> == "This is a test"
>
> --
> Graham Chiu
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to