Top menu

How to truncate String by Words

If you simply want to truncate text to a certain number of words, because you do not want a word will be cut, the code below will do the trick:

 

,

No comments yet.

Leave a Reply