Something like this?

<CFSET CRLF = Chr(13) & Chr(10)>

<CFLOOP LIST="#emailtext#" DELIMITERS="#CRLF#" INDEX="TheLine">
        <CFSET EmailItem = ListContains(TheLine,"@"," ")>
        <CFIF EmailItem>
                <CFSET EmailAddress = ListGetAt(TheLine, EmailItem , " ")>
                <!--- Do whatever you want with #EmailAddress# --->
        </CFIF>
</CFLOOP>


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 03, 2003 1:00 PM
> To: CF-Talk
> Subject: CFLOOP, almost there
> 
> 
> Hi,
> 
> All I need is some code that will strip out the e-mail address.
> 
> Ingar Bae Swnary [EMAIL PROTECTED] 
> Ral Diaz Argentina [EMAIL PROTECTED] 
> Cris Grass Uk [EMAIL PROTECTED] 
> 
> 
> Thanks.
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to