title: Join multiple strings into one single string
body: <p>I have a loop that is generating a string </p>
  
  <pre><code>function jsonResponse(response)
  {
      var singleString = a + "," + b + "," + c + "|";
  }
  </code></pre>
  
  <p>with <code>console.log(singleString);</code></p>
  
  <p>I see them all generated :</p>
  
  <pre><code>a1,b1,c1|
  a2,b2,c2|
  a3,b3,c3|
  </code></pre>
  
  <p>But how can I create a new variable <code>allStrings</code> that will concatenate all of these into one string?  The loop is part of an ajax response that is looping through xml nodes to retrieve the data for those variables.  I guess I need to make them part of an array and then join them back together for one big string?</p>
  
  <p>To further clarify what I am trying to achieve is something like :</p>
  
  <pre><code>  var allStrings = singleString[0] + singleString[1] + singleString[2] ;
  
      a1,b1,c1|a2,b2,c2|a3,b3,c3|
  </code></pre>
  
  <p>To better explain the loop it looks like this :</p>
  
  <pre><code>$j.ajax({
      type: "GET",
  
      url: "test.xml",
      dataType: "xml",
      success:   function  parseXml(data)
      {
          $j('.loader').fadeOut();
          itemQueue = $j(data).find("ITEM").map( function ()
              {
                  return {
                          date: $j("LAST_SCAN" , this).text(),
                          type : $j("PRODUCT_TYPE", this).text(),
                          cat : $j("CLASS_NAME", this).text(),
                          };  
              }).get();
              getNextItem();  
  
          }
      });
  
  function getNextItem()
      {    
          var item = itemQueue[0];
          var singleString = item.date+ "," + item.type +  "," + item.cat + "\n";
          console.log( singleString );
  
          $j.ajax({
              url: s7query,
              dataType: 'jsonp'
          });
        }
  
  function s7jsonResponse(response)
  {
      var item = itemQueue.shift();
      if (itemQueue.length)
      {
          getNextItem();  
      }
      // run other processes when finished with checks
      if (!itemQueue.length)
      {   
          // alert ("ALL DONE");
      }
  }
  </code></pre>