The string of characters does not include a zero so you can't do a substr to find a zero.
_________________________
Home page: http://www.kixhelp.com/hb/