Use the Chr(13) to delimit.

   <cffile action="READ" file="#ExpandPath('fist_of_funk.dat')#"
variable="myWords">
   <cfloop index="myLine" list="#myWords#" delimiters="#Chr(13)#">

Ric Smith


----- Original Message -----
From: "Eli Shechter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 06, 2000 11:30 AM
Subject: line break as delimiter


> Hi
> im trying to run a list loop from a file that uses separate lines for the
> items.
> i would like to use a line break as a delimiter
> anyone have any ideas??
> *****************************************************
> <select name="screen_names">
>      <cfloop index="i" list="#IM_list#" delimiters=" ">
>           <option value="1" SELECTED>#i#</option>
>      </cfloop>
> </select>
> *****************************************************
> Thanks
> -Eli-
>
> --------------------------------------------------------------------------
----
> 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.

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