Answers for "find text in string 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

Code answers related to "find text in string laravel"

Browse Popular Code Answers by Language