On Tue, 2013-09-10 at 11:49 +0100, Ian Price wrote: > Nala Ginrut <[email protected]> writes: > > > - Scheme Procedure: string-rindex s char_pred [start [end]] > > Search through the string S from right to left, returning the index > > of the last occurrence of a character which > > ------ > > It's actually 'first occurrence', according to the activity of function. > > And it's nonsense for 'last occurrence' since string-index does the same > > work. > I'm going to be honest, I don't think either of these are particularly > great wordings. They are both misleading in different ways, I feel. > Rather than 'first' or 'last', it would be better to use 'leftmost' and > 'rightmost' >
It's the word used in srfi-13 ----------------------------------cut-------------------------------- string-index (string-index-right) searches through the string from the left (right), returning the index of the first occurrence of a character which ----------------------------------end--------------------------------
