Source Code:
(back to article)
<?php $string = "Hello World!"; echo "Given string: " . $string . "\n"; echo "Updated string: " . substr_replace($string, "", -1) . "\n"; ?>
Result:
Report an issue