Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site wjh12.UUCP Path: utzoo!linus!vaxine!wjh12!svr From: svr@wjh12.UUCP (Rosenthal) Newsgroups: net.sources Subject: Re: cpr, program to print table of contents: What is rindex()? Message-ID: <315@wjh12.UUCP> Date: Thu, 1-Sep-83 10:12:12 EDT Article-I.D.: wjh12.315 Posted: Thu Sep 1 10:12:12 1983 Date-Received: Thu, 1-Sep-83 20:08:28 EDT References: <163@houxd.UUCP> Organization: Harvard University PSR, Cambridge MA Lines: 10 If you have system III (like me) then rindex is equivalent to strrchr() (3C) (and for the record, index is equivalent to strchr....) It looks for the last occurrence of character c in string s and returns a pointer to it). I'v been had by that one before, too. Simon Rosenthal (decvax!wivax!genrad!wjh12!svr)