String.padRight
padRight($length, $padString=' ') -> string
Description
Expand string to $length
characters, by adding $padString
to the end.
'willow'.padRight(10) //= 'willow ' 'willow'.padRight(10, '.') //= 'willow....'
Expand string to $length
characters, by adding $padString
to the end.
'willow'.padRight(10) //= 'willow ' 'willow'.padRight(10, '.') //= 'willow....'