Answered
Remove item from ValueList?
From a query I am creating a list using quotedValueList.
There will be a need for me to remove an item or two from the list.
When I currently do it, I'm left with single quotes and the comma.
I want to have a clean list b/c i will eventually be passing the
list into an SQL statement.
This is what I have.
<CFSET test=#QuotedValueList(getPerson.id,",")#>
Test : '1231','1232','1233'
#Replace(variables.test, '1232', "", "all")#
Test : '1231','','1233'
This is what I have.
<CFSET test=#QuotedValueList(getPerson.id,",")#>
Test : '1231','1232','1233'
#Replace(variables.test, '1232', "", "all")#
Test : '1231','','1233'
