This is a simple plugin to cut a string of text at a specified character limit, then add a string to the end, like ellipses.
It will take an article title and trim it down to a specified character limit then add an ellipses. Possibly used for article navigation (prev/next) or an article list where you want to keep the titles short.
<sab_substr limit="10" trail="..."> content to take a substring of like
trail="yourText"– The string you want appended to the result. It will NOT be appended UNLESS the content was trimmed. Defaults to ….
limit="yourNumber"– The length of the string you want returned, minus the length of trail. Defaults to 10.