This function will truncate strings only at word breaks which can be used to show a teaser for complete article without breaking words.