title: how to save parts of a string into different indexes of an array
body: <p>How to save parts of a string, example i have a string like this</p>
  
  <pre><code>$str="00.01.02.03.04";
  </code></pre>
  
  <p>and i want to save it into an array which will look something like this:</p>
  
  <pre><code>array1 =&gt;00
  array2 =&gt;01
  array3 =&gt;02
  </code></pre>