> On 15 Oct 2001, at 17:09, Alan Moore wrote: > > > I've run into some odd behavior when I call the succ > > method on a string with no alphanumeric characters. > > This seems to be a bug. The following patch should fix it. I haven't > ever compiled neither Ruby nor the patch, so be warned... BTW: the patch is for ruby 1.6.5, and it is supposed to work like this: sprintf("%c", 255).succ >> "\001\000" sprintf("*%c", 255).succ >> "+\000" sprintf("**%c", 255).succ >> "*+\000" Regards, Pit