I have no any URL to give an example, but In-Portal has text clipping function, that allows any db field value to be clipped to a given length. For example not to break page layout by inserting very long text.
Here is how to use it:
<inp2:prefix_Field name="FieldName" cut_first="145"/>
This will return first 145 symbols of given field value. In case, when there is a middle of a word at 145th symbol, then word would be broken, e.g. "this is example of broken spl ...".
I'm attaching a patch, that would do same, but also will keep word integrity, like this: "this is example of broken ...".