📜  {{Str::limit laravel - PHP 代码示例

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

代码示例2
use Illuminate\Support\Str;

$truncated = Str::limit('The quick brown fox jumps over the lazy dog', 20 , ' ...');

// The quick brown fox...