list( name, rest ) = explode( '@', $email ); name = everything before the @ rest = everything after @
.: B i g D o g :. ----- Original Message ----- From: "bo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 21, 2002 4:42 PM Subject: [PHP-DB] string > Hi, > > for any email end with @companyemail.com > such as [EMAIL PROTECTED] > how do I strip only the portion(in this case:bo) before the common > ending:@companyemail.com ? > Thanks a bunch! > > PHP: the solution to the web problem > Best Regards to PHP Community > > Bo > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php