Can someone tell me what rindex() does and what it returns when it fails? Is strchr() or strrchr() the BTL UNIX equivalent for rindex()? Thank you in advance. d a dixon ihuxa!dixon BTL - IH (312) 979-6844