Hello all,

Does anyone have any snippets of code that will strip several characters 
from a string?  I am trying to figure out how to do this without using 3 
different if statement blocks.  This is what I am looking for.

ie....User email address is "Chris Ditty" 
<[EMAIL PROTECTED]>  or  Chris Ditty <[EMAIL PROTECTED]>

I need to be able to strip the quotes and everything between them and the 
< > signs from the first one and then the name and the < > signs from the 
second.

Does anyone know how to do this quickly and easily?

Thanks

CDitty


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to