Revision: 28821
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 14, 2010 23:54 by mfigge
Initial Code
if (strlen($texto) > 500) { $texto = substr($texto,0,strpos($texto," ",500))." ..."; }
Initial URL
Initial Description
Initial Title
Corta los primeros n caracteres de un texto, pero busca el espacio para no cortar una palabra
Initial Tags
text
Initial Language
PHP