But if there's nothing to return then it fails. A null string is "", i.e. vaguely like &'\0', therefore the length returned should be one. A null _pointer_ is a completely different vessel of fish.

--
Mike Crowe
I may not be speaking on behalf of empeg above :-)
_________________________
--
Mike Crowe