On Sep 17, 2007, at 3:20 PM, Glen Holcomb wrote: > openjob.ProblemDesc[0..49] should do the trick. > > On 9/17/07, Cryptographic_ICE / yahoo.com > <Cryptographic_ICE / yahoo.com> wrote: >> >> Hello, >> >> This statement here can return a very long paragraph >> <%=h openjob.ProblemDesc %> >> >> Is there a way to trim it to say the first 50 characters? In VBScript >> I would use Left(). (I am working in ruby on rails if that matters) As will the following: openjob.ProblemDesc.first(50) Regards, Morton