Answers for "letter to Uppercase in laravel"

PHP
1

laravel uppercase first letter

use Illuminate\Support\Str;

...

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

string to uppercase laravel

public function getProvince($value)
{
    return strtoupper($value);
}
Posted by: Guest on November-30-2020

Code answers related to "letter to Uppercase in laravel"

Browse Popular Code Answers by Language