title: How to find strings between "-" in array
body: <p>I need to get each string between "-" from the array below   </p>
  
  <pre><code>array(2) {     
  [0]=&gt; string(75) "2225-Fried chicks-PTB001-1-potato",        
  [1]=&gt; string(72) "2226-Fried pig-PTB002-3-potato" }
  </code></pre>
  
  <p>so I can explode it to:</p>
  
  <pre><code>$id=2225;    
  $food=Fried chicks;    
  $barode= PTB001;    
  $qty=1;    
  $salad=potato; 
  </code></pre>
  
  <p>What would be the fastes way?  </p>