[REBOL] Re: substring question
From: al:bri:xtra at: 19-Jan-2001 16:45
Jeff Patton wrote:
> Having trouble trying to adapt rebol's find, copy and remove to do what I
want.
>> s: "Rebol is a bad language to learn."
== "Rebol is a bad language to learn."
>> replace s "bad" "good"
== "Rebol is a good language to learn."
>> append s " and use."
== "Rebol is a good language to learn. and use."
>> remove find s "."
== " and use."
>> s
== "Rebol is a good language to learn and use."
I hope that helps!
Andrew Martin
Just writing Rebol...
ICQ: 26227169 http://members.nbci.com/AndrewMartin/