Hi Bo,

I am a bit behind with reading my email, so this solution
seems perfect, but I also want to learn something about 
parse, so if you please could the parse version, too?


thanks

Ingo

Those were the words of Bohdan Bo Lechnowsky:
> 
> Ingo,
> 
> Assuming your input line looks like this:
> 
> inline: "a1=1, a2=2, a3=3, a4"
> 
> Here is a one-line solution to do what you want:
> 
> do replace replace/all replace/all inline "," " " "=" ": " "a4" "a4: true"
<...> 
> If you were asking in order to learn more about PARSE on the other hand,
> let me know and I'll show you a way to do it with PARSE (although it will
> require a few more lines of script).

--  _     .                                _
ingo@)|_ /|  _| _  <We ARE all ONE   www._|_o _   _ ._ _  
www./_|_) |o(_|(/_  We ARE all FREE> ingo@| |(_|o(_)| (_| 
http://www.2b1.de/Rebol/                     ._|      ._|

Reply via email to