as some one else around here has said to me... EUREKA!

BTW
Left($string,~)
is golf code for
Left($string,-1)

If anyone ever came behind you to fix your code, they most likely would never know what the ~ means, as it's not documented. Saving that one stroke would never be worth the time it would take to figure it out, or explain it.