title: How to split array strings on comma and create a new array maintaining order?
body: <p>Basically I want to split an array element if it contains a comma, and preserve element order within the array.</p>
  
  <p>So I have an element like this:</p>
  
  <pre><code>$array = ["coke", "joke", "two,parts", "smoke"];
  </code></pre>
  
  <p>And I want to turn it find the one with the comma, split it by the comma into two separate elements and maintain order as if nothing had happened.</p>
  
  <p>This is the desired result:</p>
  
  <pre><code>$array = ["coke", "joke", "two", "parts", "smoke"];
  </code></pre>