trimStart

Returns a subsequence of this char sequence having leading characters matching the predicate removed.

inline fun CharSequence.trimStart(predicate: (Char) -> Boolean): CharSequence(source)
val input = "12345Hello World"
val trimmed = input.trimStart { it.isDigit() }
println(trimmed)   // Output: Hello World

Source