Answers for "find string in text in laravel"

PHP
1

find string in text in laravel

@if (str_contains($mystring, 'SIZE'))
Posted by: Guest on August-11-2021
1

find string in text in laravel

use Illuminate\Support\Str;  
$myString = 'This is from itsolutionstuff.com website.';  
$contains = Str::contains($myString, 'itsolutionstuff.com');     // true
Posted by: Guest on August-11-2021

Browse Popular Code Answers by Language