From: Paul Brannan Date: 2002-04-25T22:35:28+09:00 Subject: Re: Numberic#prev On Thu, Apr 25, 2002 at 07:45:51PM +0900, ts wrote: > With your algorithm the result is "9$", but for ruby "8%".succ is "9%" > (i.e. it search first if it exist alpha-numeric character in the string > and if found it make the increment on these characters.) Nobody's perfect. :) I will leave the solution to this problem as an exercise to the reader. Paul