>  Lucky you!  It is already a list, only it is delimited by carriage
returns
<snip>

And since you also asked about arrays, you can do essentially the same thing
that Chris specified for lists by using the listToArray function like so:

<cfSet emailArray=listToArray(emailFile,chr(10))>

This creates a 1-dimensional array with one line of text per array item.
This comes in REAL handy when you're working with comma-separated (CSV)
files; you don't want to change the delimiters to a comma in order to
maintain the 'column' structure, so you turn it into an array, then evaluate
each array item as an individual list.

It's a needlessly complex method for what you're trying to accomplish, but
it might come in handy later. :)

Brandon Whitaker
[EMAIL PROTECTED]
-------
"It'll get used by the same people using Opera.  People dressed in black
wearing berets."
- Dave Watts, on Mozilla
"The net interprets censorship as damage and routes around it."
- John Gilmore


------------------------------------------------------------------------------
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.

Reply via email to