macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

ListAppend and delimiter

Subject: ListAppend and delimiter
From: "Flashcqxg"
Date: Tue, 28 Aug 2007 02:52:04 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion

I have some strings in the array  like:

 FieldValue[1]="1234";
 FieldValue[2]="thsi,s"
 FieldValue[3]="buts,s,4,"
 FieldValue[4]=",s,4rfg,23,t,"

 Now I want to use listappend add them into a list like:
       <cfset InsertValueList=ListAppend(InsertValueList,FieldValue[x],",")>

 then:
       <cfset InsertValueList = listqualify(InsertValueList,"'",",","ALL")> 
   
      <cfdump var="#InsertValueList#">

 but the result is not correct, I just want the result like:

 '1234','thsi,s','buts,s,4,',',s,4rfg,23,t,'

 How can i do it ?
 Thanks a lot.






<Prev in Thread] Current Thread [Next in Thread>