Answers for "how sub string blade php"

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

Browse Popular Code Answers by Language