Hi I have a field in a database with [email protected]#mailto:[email protected]# . I want to reduce it to just the email address.
Is is better/faster to use
substr($innerRow['PeopEmail'],0,strpos($innerRow['PeopEmail'],'#'))
or
array_shift(explode('#',$innerRow['PeopEmail']))
Thanks
Steve
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
