Answers for "laravel blade how to capitalize first two letter of string"

PHP
1

laravel uppercase first letter

use Illuminate\Support\Str;

...

$string = Str::ucfirst('foo bar');
Posted by: Guest on August-17-2020

Code answers related to "laravel blade how to capitalize first two letter of string"

Browse Popular Code Answers by Language