leggi bene questo, soprattutto negli esempi
http://php.net/manual/en/function.substr.php
Codice PHP:
$commento = ' '
.'
'.substr($risultato['commento'],0,40)
.'
'.substr($risultato['commento'],41,80)
.'
'.substr($risultato['commento'],81,120)
.'
'.substr($risultato['commento'],121,160);
echo $commento;