Question
String question
I need to add single quotes around each item in my list.
Change:
<cfset mylist = "apples, oranges,grapes">
To: mylist = ('apples', 'oranges', 'grapes')
I've tried #PreserveSingleQuotes(mylist)#
Any ideas?
Thanks!
Change:
<cfset mylist = "apples, oranges,grapes">
To: mylist = ('apples', 'oranges', 'grapes')
I've tried #PreserveSingleQuotes(mylist)#
Any ideas?
Thanks!