Echo de PHP
<?php
$motto = " my first book ";
$newMotto = str_replace("first", "best", $motto);
$newMotto = trim($newMotto);
echo "<p> $motto </p>";
echo "<p> $newMotto </p>";
echo substr($newMotto, -4);
?>
Yuxian Kang