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 <br />. I
imagine I use a loop to count how many characters I get to before it
finds <br />? 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.