<?php
function word_limiter( $text, $limit = 30, $chars = '0123456789' ) {
    if( strlen( $text ) > $limit ) {
...

PHP Limit amount of words displ...

by charliefrancis, July 30, 2009 09:37, 18 refactorings, tagged with speed, php, limit

It returns a string with a ...

Cb7e457f43aaafeb9975b9da8f209e4a Talk