KotlinStringstartsWith
contains

startsWithString

endsWith

Returns true if the string starts with the specified prefix.

Syntax

str.startsWith(prefix)