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