Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

find string in text in laravel

use IlluminateSupportStr;  
$myString = 'This is from itsolutionstuff.com website.';  
$contains = Str::contains($myString, 'itsolutionstuff.com');     // true
Source by www.itsolutionstuff.com #
 
PREVIOUS NEXT
Tagged: #find #string #text #laravel
ADD COMMENT
Topic
Name
7+4 =