Good point Mike. I didn't think of that the other night. :-)
You could easily use isValid("email", "[EMAIL PROTECTED]") instead of a udf,
unless this is what you were referring to. I guess it depends on CF
version too.
On 2/13/06, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
> I'll throw my .02 cents into the ring and say first that you can leave the
> list alone and keep the tabs as the delimiter. A character is a character and
> you can use a tab just as you can use a comma. Chr(9) is a tab in CF.
>
> All you really have to do is loop over the whole collection of information
> using a chr(13)chr(10) as the delimiter for each line and a sub loop using a
> chr(9) for each item within the list. Then use one of the standard email
> checker UDFs to see if the item data is an email or not.
>
> <cfset end=chr(13)&chr(10)>
> <cfset tab=chr(9)>
> <cfloop index="line" list="#list#" delimiters="#end#">
> <cfloop index="item" list="#line#" delimiters="#tab#">
> check for email here
> </cfloop>
> </cfloop>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232135
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54