Skip to content

std::String::slice<Char, Traits>::starts_with

starts_with

Checks if slice starts with needle

Signature

starts_with(self, needle: slice&) -> bool

Specifiers

  • const

See Also

Back to slice<Char, Traits>