>> Well, you could break on commas, and always trim().
> I  do break on commas.  I didn't trim though.  I thought that was
> just for spaces.  There none.  I'll try it.

Ah, it must have been the wrap monster, then.  Trim() removes all 
whitespace from the beginning and end of the string.

>> You could always replace line breaks with spaces.
> I use Dreamweaver to code and I'm not sure how I would do that.

I meant that you could do it programatically to the data on output (or 
whatever).  That is, you could use replace() to turn the hard returns 
into spaces.

>> You could use an array and assign each row individually.
> I have about 120 entries; one of the reasons that I'm splitting it
> up. I could do 121 lines of code just to make an array, but I prefer
> not to which is why I use listToArray.  I prefer to just be able to
> do <cfset = {1,2,3,4,5}> to init an array, like in actionscript, but
> don't believe that works.
> 
>> You could do this programmatically using listappend().
> 
> OK, I looked that up and it seems applicable.

If you are turning the list into an array, then using listappend() and 
appending each line to the list will require as many lines of code as 
the array declaration.  If the reason you prefer listappend() to the 
array stuff is the possibility of having to renumber, then you can 
always use arrayappend().

--Ben


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188473
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

Reply via email to