Ellipsis is a project mainly written in JavaScript, it's free.
Tiny jQuery plugin for truncating text with …