There is an apparent bug/feature in the ASC() function that allows it to return the ascii value of only the first character of a multi-character string. Because of this, ASC(substr($a,$b,1)) can be written as ASC(substr($a,$b)) saving 2 strokes.
_________________________
Home page: http://www.kixhelp.com/hb/