![]() |
|
|
+ Search |
![]()
|
Aug 24th, 2000 22:16
Ben Udall, Darin Beard, http://www.php.net/manual/function.str-replace.php
The str_replace() function is probably what you're looking for.
$str = "Hello world";
$new_str = str_replace("world", "", $str);
$new_str should now equal "Hello "