.title rindex Find Last Instance of a Character in a String .ident /000003/ ; ;+ ; ; Index Find the last instance of a character in a string ; ; Usage ; ; char * ; rindex(stng, chr) ; char *stng; /* String to search in */ ; char chr; /* Byte to search for */ ; ; Description ; ; If chr is in stng, return a pointer to the last instance it. ; If not, return NULL. ; ; Bugs ; ; Obsolete, use strrchr() instead. ; ;- ; ; Edit history ; 000001 21-Oct-81 MM Initial edit ; 000002 24-Jun-82 MM Just redefine the global ; 000003 06-Jul-82 MM Too good to be true ; .psect c$code rindex:: jmp strrch ;03 .end