From: Glen Holcomb Date: 2007-09-18T04:20:27+09:00 Subject: Re: Cropping text strings ------=_Part_14992_2525521.1190056817188 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline openjob.ProblemDesc[0..49] should do the trick. On 9/17/07, 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) > > > -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_14992_2525521.1190056817188--