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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
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;
  » more...

Find the first occurrence of a character within the string.

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

PrevUpHomeNext