Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel helper function for check string is exist in another string

use IlluminateSupportStr;

$contains = Str::contains('This is my name', 'my');
 
PREVIOUS NEXT
Tagged: #laravel #helper #function #check #string #exist #string
ADD COMMENT
Topic
Name
2+7 =