Xml data character limit

I am needing to limit the charcters shown in a text field, where the data is retrieved from an xml node (ie: just show the first paragraph of an entry with … afterwards) anyone have the code for that handy?