Substr without cutting words

Very often we need to display only the beginning of a larger text and for this we have substr() function. But we would like to do that without cutting any words (think of poorly truncated words like “butterfly” or “assassin”).

This is a very quick fix for the above problem:

1 2 3 4 function . . . → Read More: Substr without cutting words

Categories

Archives

Calendar

June 2017
M T W T F S S
« Jul    
 1234
567891011
12131415161718
19202122232425
2627282930