echo substr($stringa,-1,1); // solo ultimo carattere echo substr($stringa,0,strlen($stringa)-1); // tutti tranne l'ultimo
Regole del Forum