Codice PHP:
// La stringa non puo' superare i 1000 caratteri
if (strlen($content) >= 1000) {
         
substr($content01000);
   }