Ingo, I noticed several people had posted parse versions, so I'm sure you'll see them by the time you see this mail. If not, let me know and I'll write one. I'm pretty sure Elan wrote one at least. Later! On 24-Nov-1999/13:51:44+1:00, [EMAIL PROTECTED] wrote: >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/ ._| ._| > -- Bohdan "Bo" Lechnowsky REBOL Adventure Guide REBOL Technologies 707-467-8000 (http://www.rebol.com) Download the REBOL Messaging Language for all Platforms