title: get a string from an array in php
body: <pre><code>array
    0 =&gt; string 'profile' (length=8)
    1 =&gt; string 'helloworld' (length=8)
    2 =&gt; string 'string2' (length=7)
  
  // lets say we have an defined string that we want to split it out. or make it disappear.
  
  string 'profile' (length=8)
  </code></pre>
  
  <p><strong>how can we just get</strong> <code>helloworld</code> and <code>string2</code> <strong>in an array from the array useing the string we defined ? ( get the a defined string out of the array )
  is there a good function for this problem ?</strong></p>
  
  <p>the result should be like</p>
  
  <pre><code>array
    1 =&gt; string 'helloworld' (length=8)
    2 =&gt; string 'string2' (length=7)
  </code></pre>
  
  <p>Thanks for looking in</p>
  
  <p>Adam Ramadhan</p>