Source Code:
(back to article)
<?php $string = 'Hello World'; $newString = str_replace('Hello ', '', $string); // $newString is now 'World' echo $newString;
Result:
Report an issue