trimStart
inline fun CharSequence.trimStart(
predicate: (Char) -> Boolean
): CharSequenceReturns a sub sequence of this char sequence having leading characters matching the predicate removed.
Returns a string having leading characters matching the predicate removed.
fun CharSequence.trimStart(vararg chars: Char): CharSequenceReturns a sub sequence of this char sequence having leading characters from the chars array removed.
Returns a string having leading characters from the chars array removed.
fun CharSequence.trimStart(): CharSequenceReturns a sub sequence of this char sequence having leading whitespace removed.