Is there anyway that I can limit the amount of characters displayed in a variable.
For instance, I am taking data out of my mysql database and assigning it the variable of $content.
$content stores a large amount of data (i.e. an article) is there anyway I can get it to show the first 100 characters or 40 words?
Thanks!