trimStart

inline fun CharSequence.trimStart(predicate: (Char) -> Boolean): CharSequence(source)

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

Since Kotlin

1.1

inline fun String.trimStart(predicate: (Char) -> Boolean): String(source)

Returns a string having leading characters matching the predicate removed.

Since Kotlin

1.1

Returns a sub sequence of this char sequence having leading characters from the chars array removed.

Since Kotlin

1.1

fun String.trimStart(vararg chars: Char): String(source)

Returns a string having leading characters from the chars array removed.

Since Kotlin

1.1

Returns a sub sequence of this char sequence having leading whitespace removed.

Since Kotlin

1.1

inline fun String.trimStart(): String(source)

Returns a string having leading whitespace removed.

Since Kotlin

1.1
inline fun CharSequence.trimStart(predicate: (Char) -> Boolean): CharSequence(source)

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

Since Kotlin

1.0

inline fun String.trimStart(predicate: (Char) -> Boolean): String(source)

Returns a string having leading characters matching the predicate removed.

Since Kotlin

1.0

Returns a sub sequence of this char sequence having leading characters from the chars array removed.

Since Kotlin

1.0

fun String.trimStart(vararg chars: Char): String(source)

Returns a string having leading characters from the chars array removed.

Since Kotlin

1.0

Returns a sub sequence of this char sequence having leading whitespace removed.

Since Kotlin

1.0

inline fun String.trimStart(): String(source)

Returns a string having leading whitespace removed.

Since Kotlin

1.0