From: Robert Dober Date: 2006-04-09T19:34:52+09:00 Subject: Re: Ruby string ------=_Part_33406_8435491.1144578889242 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 4/9/06, Peter wrote: > > Jeppe Jakobsen wrote: > > string[0] =3D 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 =3D "this is a String" > string[0] =3D string[0].chr.capitalize > > Thanx All > > -- > Posted via http://www.ruby-forum.com/. > > I am glad you like it, but why? -- Deux choses sont infinies : l'univers et la b=EAtise humaine ; en ce qui concerne l'univers, je n'en ai pas acquis la certitude absolue. - Albert Einstein ------=_Part_33406_8435491.1144578889242--