Truncate a String only on a word break with JavaScript
I’ve been finding myself needing to truncate strings more and more lately, especially while working with Twitter. I created a function that was simple and reusable. That is the point of Object Orientated Programming after all and sharing is caring – so here it is … Continue readingTruncate a String only on a word break with JavaScript