From: Peter Date: 2006-04-09T10:10:29+09:00 Subject: Re: Ruby string Jeppe Jakobsen wrote: > string[0] = string[0].chr.upcase Yep this is the one. I think [0] is more natural. I don't need a range. So with a slight change: string = "this is a String" string[0] = string[0].chr.capitalize Thanx All -- Posted via http://www.ruby-forum.com/.