std::core::string

starts_with

fn bool String.starts_with(self, String prefix)
Check if the String starts with the prefix.

Parameters