From: jotto Date: 2005-09-24T09:46:41+09:00 Subject: trimming strings folks-> i am using RoR's scaffolding for a very basic blog setup. I want to trim the string for the text that comes with each entry in the database. Ideally I want to trim it where it first finds
. I imagine I use a loop to count how many characters I get to before it finds
? Then I use some function (a function I can't find) that trims the string to the desired amount of characters. Any input would be greatly appreciated.