Encontre string no texto em Laravel
@if (str_contains($mystring, 'SIZE'))
Mohamad
@if (str_contains($mystring, 'SIZE'))
use Illuminate\Support\Str;
$myString = 'This is from itsolutionstuff.com website.';
$contains = Str::contains($myString, 'itsolutionstuff.com'); // true