> Controllers 에서 사용
use Illuminate\Support\Str; // 추가
$truncated = Str::limit(‘가나다라마바사 아 자 차 카 ABcdef 12345566’, 20); // 사용
> Frontend { 파일 예 : index.blade.php } 에서 사용하기
{{ \Illuminate\Support\Str::limit(‘가나다라마바사 아 자 차 카 ABcdef 12345566′, 20, $end=’…’) }}