HTML Substr Modifier
| From: | Edward Dale | Date: | Thu, 19 Jun 2003 16:17:32 +0000 |
| Subject: | HTML Substr Modifier | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9736@lists.php.net to get a copy of this message | ||
Hello All,
I found myself in need of a modifier to truncate an HTML string. I couldn't find one immediately available, so I whipped up a modifier to do it based on some javascript code I found. I've posted it at http://www.scompt.com/modifier.html_substr.php.txt . Please send me comments and/or changes if you find it useful/broken.
Edward