RE: Replace in string

2002-11-04 Thread Ben Forta
You are making it too complicated, just use the ListChangeDelims() function. CFSET l=dir1 dir2 dir3 dir4 dir5 CFOUTPUT #ListChangeDelims(l, ,, )# /CFOUTPUT -Original Message- From: FlashGuy [mailto:flashmx;rogers.com] Sent: Monday, November 04, 2002 11:24 AM To: CF-Talk Subject:

RE: Replace in string

2002-11-04 Thread Timothy Heald
Try valueList(dirList.name) Tim -Original Message- From: FlashGuy [mailto:flashmx;rogers.com] Sent: Monday, November 04, 2002 11:24 AM To: CF-Talk Subject: Replace in string Hi, I need to output the results as a comma-delimited string. An example of the output from the below code

RE: Replace in string

2002-11-04 Thread Bryan F. Hogan
Try this CFPARAM NAME=VARIABLES.DIRECTORYLIST DEFAULT= CFDIRECTORY ACTION=LIST DIRECTORY=D:\BOOKS NAME=DirList SORT=name ASC CFLOOP QUERY=DirList CFIF TYPE IS DIR AND FINDNOCASE('.',NAME) IS 0 CFSET VARIABLES.DIRECTORYLIST=VARIABLES.DIRECTORYLIST','NAME /CFIF

RE: Replace in string

2002-11-04 Thread Jim Davis
Hi, I need to output the results as a comma-delimited string. An example of the output from the below code would be like: dir1 dir2 dir3 dir4 dir5 I would like to have: dir1,dir2,dir3,dir4,dir5 Whats wrong with my below syntax? cfdirectory action=LIST directory=d:\books