padRight

fun String.padRight(len: Int, ch: Char): String

Deprecated

should use standard lib's 'padEnd(len,ch)' to instead

Replace with

this.padEnd(len, ch)

Author

尧 String右对齐,废弃的函数,应该使用标准库实现

See also