export an array(quickie)

yo-0

<cffile action="READ" file="C:\WINNT\Profiles\duncan\Desktop\BCS_Attend.txt" variable="bsc">

<CFSET bcsarray = ListToArray(bsc)>
<cfoutput>
#bcsarray#<br>
</cfoutput>
<cfoutput>
#bsc.recordcount#

wont export the array- help???
owlseyAsked:
Who is Participating?
 
cheekycjConnect With a Mentor Commented:
try
<cfset bscarray = ListToArray(bsc, "#chr(10)##chr(13)#")>

CJ
0
 
owlseyAuthor Commented:
q- in asp OpenAsTextStream- i use dhte vbcrlf to signify the line return- does this work in CF?

thansk CheekY!
0
 
owlseyAuthor Commented:
q- in asp OpenAsTextStream- i use dhte vbcrlf to signify the line return- does this work in CF?

thansk CheekY!
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
cheekycjCommented:
chr(10) and chr(13) cover both linefeed and carriage return chars.

CJ
0
 
owlseyAuthor Commented:
rock so hard you cannae rock nae harder!
0
 
cheekycjCommented:
Thanx, glad I could help.

CJ
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.