why not use substr?
$preview = substr($string, 0, 50) .'...';

it will probably cut off in the middle of a word, but you can use strpos and
check to see if the char is a space to get to the point you want.

Joseph Crawford Jr.
Zend Certified Engineer
Codebowl Solutions, Inc.

Reply via email to