Encuentra una cadena en el texto en 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