Hi Tiffany,
You could use the GetToken function:
<cfset part1 = GetToken(yourString,1,"@"> will give you before the @ and
<cfset part2 = GetToken(yourString,2,"@"> will give you after the @.
Dana
-----Original Message-----
From: Tiffany - Tech Support <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, April 18, 2000 4:32 PM
Subject: Breaking strings apart
>What I am looking to do is seperate a username from a domain in an email
>address.
>
>So you have [EMAIL PROTECTED] What function or tag or what could I use
>to have it detect everything before the @ symbol and call that the
username,
>and everything after the @ to set as the domain?
>
>Thanks!
>_____________________________
>Tiffany
>Technical Support
>the spa! online services
>[EMAIL PROTECTED] (413)539-9818
>
>---------------------------------------------------------------------------
---
>Archives: http://www.eGroups.com/list/cf-talk
>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.
>
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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.