title: laravel In_array() function part of string detect
body: <p>Here is array as following:</p>
  
  <pre><code>$array = ['blog.setting', 'blog.post', 'blog.delete', 'blog.edit', 'other.other'];
  </code></pre>
  
  <p>I want to know if there is element which has <code>'blog.'</code>;
  Maybe like this will be perfect.</p>
  
  <pre><code>in_array('blog.*', $array)
  </code></pre>
  
  <p>Can anyone help me?</p>