Top index Wirbel home

::startswith

string.startswith(char) - checks if string starts with a certain character
string.startswith(string) - checks if string starts with another string

string.startswith(char) returns true, if the first character of the string is the given character.

string.startswith(string) return true, if the tail of the string is equal to the given string. This is faster than first slicing of the start with : and then comparing the slice, since it avoids copying of strings.