Kotlin文字列padStart
isBlank

padStart文字列

padEnd

先頭にpadCharを埋めて指定した長さにします。

構文

str.padStart(length, padChar?)