Page 1 of 1

string replace

Posted: Wed Jan 07, 2004 6:43 pm
by mcog_esteban
hi...
if i have this string :
$string = "Dark City http://www.imdb.com/title/tt0118929";
what should i do to change the string to :
$string = "Dark City | http://www.imdb.com/title/tt0118929";

Posted: Wed Jan 07, 2004 6:53 pm
by scorphus
[php_man]str_replace[/php_man]() or may help you