title: Laravel 5 query `LIKE` issue
body: <p>I have a <code>special_number</code> table with a prefix column. The column contains <code>022</code>,<code>021</code> etc data. I have a number <code>0216627363021</code>. How I match the column using <code>LIKE</code> keyword to get the row.</p>
  
  <pre><code>$rate = Special::where('user_id',$user_id)
              -&gt;where(DB::raw("prefix LIKE $number"))
              -&gt;orWhere(DB::raw("prefix LIKE SUBSTR($number,1,-1)"))
              -&gt;orWhere(DB::raw("prefix LIKE SUBSTR($number,1,-2)"))
              -&gt;orWhere(DB::raw("prefix LIKE SUBSTR($number,1,-3)"))
              -&gt;orWhere(DB::raw("prefix LIKE SUBSTR($number,1,-4)"))
              -&gt;orWhere(DB::raw("prefix LIKE SUBSTR($number,1,-5)"))
              -&gt;orWhere(DB::raw("prefix LIKE SUBSTR($number,1,-6)"))
              -&gt;orWhere(DB::raw("prefix LIKE SUBSTR($number,1,-7)"))
              -&gt;orWhere(DB::raw("prefix LIKE SUBSTR($number,1,-8)"))
              -&gt;orWhere(DB::raw("prefix LIKE SUBSTR($number,1,-9)"))
              -&gt;orWhere(DB::raw("prefix LIKE SUBSTR($number,1,-10)"))
              -&gt;first();
  </code></pre>
  
  <p>but it return NULL. Where is the problem? Thank you.</p>