Question: ColdFusion ListInsertAt() is not working

Question

ColdFusion ListInsertAt() is not working

Answers 0
Added at 2017-01-02 11:01
Tags
Question

I want to update an existing excel report generated in coldfusion with a single quote to one of the excel column so I trying to achieve this using below piece of code, but when I did its throwing an error saying page cannot be displayed

 <cfset output1 = ValueList(Search.data,Chr(10)>
<cfloop from = "0" to ="#ListLen(output1)#" index = "index1">
<cfset var1 = ListGetAt(output1,7,",">)
<cfset var2 = ListInsertAt(output1,7,"'")>
</cfloop>

Any help is much appreciate............

Answers
Source Show
◀ Wstecz