Buy me a coffee
Kotlin
›
文字列
›
padStart
←
isBlank
padStart
文字列
padEnd
→
先頭にpadCharを埋めて指定した長さにします。
構文
str.padStart(length, padChar?)