programming-examples/php/String/PHP script to remove part of a string..php

4 lines
112 B
PHP
Raw Permalink Normal View History

2019-11-15 12:59:38 +01:00
<?php
$my_str = 'The quick brown fox jumps over the lazy dog';
echo str_replace("fox", " ", $my_str)."\n";
?>