$left(%text,$calc($len(%text) -1)) would get rid of the last character in %text. I believe that's what you were thinking smile.