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