Re: string
| From: | Ray Hunter | Date: | Sun, 21 Jul 2002 22:47:06 +0000 |
| Subject: | Re: string | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20684@lists.php.net to get a copy of this message | ||
list( name, rest ) = explode( '@', $email );
name = everything before the @
rest = everything after @
.: B i g D o g :.
----- Original Message -----
From: "bo" <bo1st@hotmail.com>
To: <php-db@lists.php.net>
Sent: Sunday, July 21, 2002 4:42 PM
Subject: [PHP-DB] string
> Hi,
>
> for any email end with @companyemail.com
> such as bo@companyemail.com
> 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