Skip to content

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

starts_with

Checks if string starts with needle

Signature

starts_with(self, const basic& needle) -> bool

Specifiers

  • const
  • noexcept

See Also

Back to basic<Char, Traits>