var %text [ [ %text ] ] $replace($mid($gettok($1-, [ [ %x ] ],32),1,1),[ [ %text1 ] ], $+(,[ %co1 ],,[ [ %text1 ] ],,[ %co2 ],)) $+ $mid($gettok($1-, [ [ %x ] ],32),2,$calc($len($gettok($1-, [ [ %x ] ],32) - 1)))
Somewhere along that line is wrong. And I'm thinking it's something with this part from that line....
$+(,[ %co1 ],,[ [ %text1 ] ],,[ %co2 ],))