startsWith
Returns true
if this char sequence starts with the specified character.
Since Kotlin
1.0Returns true
if this char sequence starts with the specified prefix.
Since Kotlin
1.0Returns true
if a substring of this char sequence starting at the specified offset startIndex starts with the specified prefix.
Since Kotlin
1.0Since Kotlin
1.0Returns true
if this string starts with the specified prefix.
Since Kotlin
1.1Returns true
if a substring of this string starting at the specified offset startIndex starts with the specified prefix.
Since Kotlin
1.1Returns true
if this string starts with the specified prefix.
Since Kotlin
1.0Returns true
if a substring of this string starting at the specified offset startIndex starts with the specified prefix.
Since Kotlin
1.0Returns true
if this string starts with the specified prefix.
Since Kotlin
1.3Returns true
if a substring of this string starting at the specified offset startIndex starts with the specified prefix.