Skip to main content
Inspiring
November 8, 2006
Question

String question

  • November 8, 2006
  • 2 replies
  • 310 views
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!
    This topic has been closed for replies.

    2 replies

    jenn1Author
    Inspiring
    November 8, 2006
    Awsome! Thanks for your help.
    Participating Frequently
    November 8, 2006