Re: [PHP] Modifying a string

2003-03-06 Thread Liam Gibbs
> I need to modify a string that contains image links like src="http://www.somedomain/directory/graphics/filename.jpg";> to > image links like Maybe something like with str_replace()? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Modifying a string

2003-03-06 Thread Duncan
--- Begin Message --- Hi, if it's always the same "src=http://www.somedomain/directory/";, then the easiest might be: $string = str_replace('src="http://www.domedomain/directory/','src="',$string); ... Duncan Luis Lebron wrote: I need to modify a string that contains image links like http://

[PHP] Modifying a string

2003-03-06 Thread Luis Lebron
I need to modify a string that contains image links like http://www.somedomain/directory/graphics/filename.jpg";> to image links like How can I do this? Luis