Newsgroups: comp.mail.elm Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!rochester!kodak!uupsi!jpradley!jpr From: jpr@jpradley.jpr.com (Jean-Pierre Radley) Subject: reverse Organization: NYC Public Unix Date: Wed, 27 Mar 1991 06:04:55 GMT Message-ID: <1991Mar27.060455.2008@jpradley.jpr.com> Here and there in the elm source code are routines which copy a string one byte at a time backwards, from its end up to some particular character, and then use a function called reverse() to rectify the copy. Why can't strrchar, or rindex, be used to find the character, and then a copy of the rest of the string would do the job? Jean-Pierre Radley NYC Public Unix jpr@jpradley.jpr.com CIS: 72160,1341