A parte il titolo insensato che solo estimatori del genere possono capire per il resto
Codice PHP:// La stringa iniziale
$string ="Sono un bravo programmatore"
$string = str_replace('Sono', 'Sarò', $string);
echo $string."\n";
// Output --> " Sarò un bravo programmatore "
$string = str_replace('bravo', '', $string);
echo $string."\n";
// Output --> " Sarò un programmatore "
$string = str_replace('un programmatore', '?', $string);
echo $string."\n";
//La stringa finale
// Output --> " Sarò ?"

Rispondi quotando