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'
-- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"
