title: How do I concatenate two strings and store them into the same struct key
body: <p>I'm using Coldfusion. I want to concatenate two strings into the same struct key, but I keep getting an error of "can't convert x into a boolean."</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;cfset myStruct.string1 = nodes[1].string1.XmlText&gt;
  &lt;cfset mystruct.string2 = nodes[1].string2.XmlText&gt;
  </code></pre>
  
  <p>Neither of the following works </p>
  
  <pre><code>&lt;cfset myStruct.concatendatedSring = nodes[1].string1.XmlText AND nodes[1].string2.XmlText&gt;
  &lt;cfset myStruct.concatendatedSring = myStruct.string1 AND myStruct.string2&gt;
  </code></pre>
  
  <p>Why does neither method work?</p>