title: Are there any modern alternatives of std::strchr() for C++?
body: <p>I am extensively using <code>std::strchr()</code> in my code, but recently i started thinking about making my code more readable and modern. I wish there was function similar to <code>std::any_of/std::string::find_first_of</code> which is taking single character instead of containers. So i am questioning myself how to "update" my code to C++17. </p>
  
  <pre class="lang-cpp prettyprint-override"><code>while (std::strchr("abcd", input) == nullptr) { //how to get rid of this C function?
          //do smth
  }
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Thanks, have a nice day!</p>