Search for threads and articles
Quickly access threads and articles by running a global search.
No results found
We couldn’t find anything with that term. Please try again.
you can use DB::raw method for this:
User::where(DB::raw("substr('name', 1, strpos('name', '_'))"), '=', 'kelvin');
Sign in to participate in this thread!
Your banner here too?
We'd like to thank these
for supporting us
Your logo here?
The Laravel portal for problem solving, knowledge sharing and community building.