Molto basilare:
$parole = explode(" ", $stringa);
$parole = array_slice($parole, 0, 40);
$prime40 = implode(" ", $parole);
Molto basilare:
$parole = explode(" ", $stringa);
$parole = array_slice($parole, 0, 40);
$prime40 = implode(" ", $parole);
There are 10 types of people in the world - those who understand binary and those who don't.