> I have an email address sting that I need to manipulate.
> 
> I need to just get the first part before the @ symbol and 
> discard the rest
> (although knowing how to grab it might be useful too). Is the 
> only way to do
> a regular expression?

Nope. It's easy:

 <cfset justTheUser = ListFirst(emailAddr,"@")>

-Ron


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

Reply via email to