Darn, that happens when you try to improve an UDF while feeding a baby and not testing it. I'll correct that at once with a correctly used SUBSTR().
_________________________
There are two types of vessels, submarines and targets.