From: Christer Nilsson Date: 2006-01-07T02:38:41+09:00 Subject: Re: How to access individual characters in a string (as stri Just a suggestion: class String def chr(index) self[index..index] end end s = "Ruby" t s.chr(0), "R" t s.chr(3), "y" t s.chr(4), "" t s.chr(-1), "y" t s.chr(-4), "R" t s.chr(-5), nil But nothing beats s[0]="R", it's much cleaner. Christer -- Posted via http://www.ruby-forum.com/.