Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext
string::find

Find the first occurrence of a string within the string.

std::size_t
find(
    string_view sv,
    std::size_t pos = 0) const noexcept;
  » more...

Find the first occurrence of a character within the string.

std::size_t
find(
    char ch,
    std::size_t pos = 0) const noexcept;
  » more...

PrevUpHomeNext