C++ String – Examples

Mine sider

C++ String – Examples

October 11, 2018 C/C++ programmering 0
  • Find first word in sentence –  std::string firstWord = s1.substr(0, s1.find(” “));

Leave a Reply

Your email address will not be published. Required fields are marked *