Oops...that's wrong...

try this instead:

<cfset newstr="www"&mid(emailaddr,find("@",emailaddr)+1,len(emailaddr))>

Howie

----- Original Message -----
From: "Howie Hamlin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, October 23, 2000 1:26 PM
Subject: Re: <CF_STRIP_EMAIL_SHOWME_DOMAIN>


> Try:
>
> <cfset newstr="www"&left(emailaddr,find("@",emailaddr)-1)>
>
> Regards,
>
> Howie Hamlin - inFusion Project Manager
> On-Line Data Solutions, Inc.
> www.CoolFusion.com
> 631-737-4668 x101
> inFusion Mail Server (iMS) - the World's most configurable mail server
>
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, October 23, 2000 11:57 AM
> Subject: <CF_STRIP_EMAIL_SHOWME_DOMAIN>
>
>
> > Hello all,
> >
> > I was just looking for some help on how to take an email address
> > and strip away the string to the left of the "@" sign and add "www."
> > to the newly create string variable.
> >
> > Thanks,
> >
> >
> > D-
> >
>
> --------------------------------------------------------------------------
> ----------------------
> > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or
send
> a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
>
> --------------------------------------------------------------------------
----------------------
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to