📜  在 laravel 中的文本中查找字符串 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:34.552000             🧑  作者: Mango

代码示例2
use Illuminate\Support\Str;  
$myString = 'This is from itsolutionstuff.com website.';  
$contains = Str::contains($myString, 'itsolutionstuff.com');     // true