inline fun CharSequence.trimStart( predicate: (Char) -> Boolean ): CharSequence
Returns a sub sequence of this char sequence having leading characters matching the predicate removed.
inline fun String.trimStart( predicate: (Char) -> Boolean ): String
Returns a string having leading characters matching the predicate removed.
fun CharSequence.trimStart(vararg chars: Char): CharSequence
Returns a sub sequence of this char sequence having leading characters from the chars array removed.
fun String.trimStart(vararg chars: Char): String
Returns a string having leading characters from the chars array removed.
fun CharSequence.trimStart(): CharSequence
Returns a sub sequence of this char sequence having leading whitespace removed.
fun String.trimStart(): String
Returns a string having leading whitespace removed.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/trim-start.html