You may try using regular expressions for that. Something like
preg_replace("http:\/\/.*\s","",$your_var). That's a simple example, but
you can change to suit your needs, check the online help for more info
about.
HTH,
Mariano.
Merlin wrote:
Hi there,
I am trying to strip URL's out of a text. There is a function for this
in php, but I can't find it anywhere. Can sombody help?
Regards,
Merlin
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/443 - Release Date: 11/09/2006
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php