title: How do i dynamically put delimiters in an array in jquery?
body: <p>am new here so i am still trying to get a hang of things.
  how do i dynamically add a delimiter like "|" after every 3 elements in an array in jquery so i can then explode the array and use the resulting arrays differently? 
  i have</p>
  
  <pre><code>var items = {"010","Electronics","344","tv","car","truck"};
  </code></pre>
  
  <p>i want </p>
  
  <pre><code>var items = {"010,Electronics,344|tv,car,truck"}
  </code></pre>
  
  <p>the array could get bigger so i want to be able to count dynamically add "|" after 3 elements.
  thanks a lot.</p>