Answers for "laravel blade ucfirst"

PHP
1

laravel uppercase first letter

use Illuminate\Support\Str;

...

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

blade capitalize first letter

$string = ucfirst("my name is doe");
Posted by: Guest on January-05-2021

Browse Popular Code Answers by Language