From Joomla! Documentation
Revision as of 14:23, 16 February 2011 by Dextercowley
[Edit Descripton] Contains methods for working with strings of HTML text.
|truncate||Truncates text blocks over the specified character limit. The behavior will not truncate an individual word, it will find the first space that is within the limit and truncate at that point. This method is UTF-8 safe.|
|abridge||Abridges text strings over the specified character limit. The behavior will insert an ellipsis into the text replacing a section of variable size to ensure the string does not exceed the defined maximum length. This method is UTF-8 safe.|