Shortening a String
| From: | Jason Williard | Date: | Wed, 29 Oct 2003 02:53:29 +0000 |
| Subject: | Shortening a String | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-167959@lists.php.net to get a copy of this message | ||
I would like to display part of the output of a query. In many cases,
the string returned by this query exceeds 200 characters. Is there a
way to cut it off after 200 characters? Even better, is there a way to
cut it off at the next space after 200 characters?
Thank you for any assistance,
- Jason