Answers for "extact substring in string in php laravel blade"

PHP
0

php laravel string substring

use Illuminate\Support\Str;

$padded = Str::of('James')->padRight(10, '-');

// 'James-----'

$padded = Str::of('James')->padRight(10);

// 'James     '
Posted by: Guest on August-11-2021

Code answers related to "extact substring in string in php laravel blade"

Browse Popular Code Answers by Language