KotlinStringpadEnd

Returns a string of the specified length, padded at the end with padChar.

Syntax

str.padEnd(length, padChar?)