Namespaces
Variants
Views
Actions

Talk:cpp/string/byte/strtok

From cppreference.com

Hi.

If we want to work with std::basic_string rather than raw char*, one equivalent of std::strtok is the pair {std::basic_string::find_first_of() / std::basic_string::substr()}. The main advantage of this, beside using the C++ string class, is we have more possibilities by replacing std::basic_string::find_first_of() with std::basic_string::find_last_of() (or std::basic_string::find_first_not_of()), which allows more flexibility.

Is it reasonable to place a reference to these functions in the page?