[REBOL] Re: Replace, select, find and stuff
From: hallvard::ystad::oops-as::no at: 30-Apr-2005 17:59
Dixit Gabriele Santilli (17.50 30.04.2005):
>Hi Hallvard,
>On Saturday, April 30, 2005, 5:48:09 PM, you wrote:
>HY> and that I want to replace "C" with "E" in 'a.
> replace a "C" "E"
>?
I don't know that "C" is indeed "C", I only know it is preceeded by 3, as you suggest
underneath.
>But I guess you want to change the value that follows a given
>value (using the HASH! with key-value pairs):
> key: 3
> value: "E"
> change next find a key value
'change! Of course! Thanks, Gabriele.
Maybe 'change and 'replace could have a /select refinement...? (Just thinking aloud).
HY