The following will do very close to your example

Code:
var %str = t03his text is l04ots of colors a09,07nd other burk c0odes
echo -a * $instok($deltok(%str,4-6,32),!!!this-chunk-missing!!!,4,32)


simply remove the tokens u wish to replace and then insert the new chunk at that pososion .. i was hopeing to simply just use $puttok() but aparently $puttok doesnt alow you to overwrite multipal tokens /me makes a note to request that later

only difference is that it doesnt retain the CTRL+R chr before the chunk as u have in your example .. ibeings the CTRL+R is part of the 4-6 tokens i dont know why u would retain it.

if u can explain what kind of rule u want to use for retaining it (perhaps keep all ctrlcodes that exist before but are still atatched to the first token to be removed) or something like that we can figure something out.

hope this helps.

Cobra^