Função de limitar string em php

Posted on : by : admin

Abaixo segue a função para limitar os caracteres! <?php function str_chop($string, $length = 60, $center = false, $append = null){ // Set the default append string if ($append === null) $append = ($center === true) ? ‘ … ‘ :Read More