For [ How to capture complete words using substr() in PHP, limit by word? ]
$sub_words = explode('|', wordwrap(nl2br($m->Message), 50, '|'));
echo $sub_words[0];
|
No comments:
Post a Comment
Please post any queries and comments here.