2 Replies Latest reply on Jan 6, 2011 2:55 PM by Adam Cameron.

    Coldfusion list/array question

    funandlearning333 Level 1

      Hi All-


      I am trying to build a list with following values:


      <cfset list = "{name:'col1', index:'col1', sorttype:'string'},{name:'col2', index:'col2', sorttype:'string'},{name:'col3', index:'col3', sorttype:'string'}">


      So the above list has 3 values with each value enclosed within the brackets. When i convert it into array, am getting back 18 values as it is counting each attribute in the value. How can I make it to consider them as 3 values?