pub fn start_with(str: String, prefix: String) -> bool
Expand description
Checks if the given string starts with the specified prefix.
§Arguments
str - A String to check for the prefix.
prefix - A String representing the prefix to check for.
§Returns
true if the string starts with the prefix, otherwise false.