C++ String – Examples C/C++ programmering October 11, 2018 Blog - Engelsk eller dansk ? Find first word in sentence – std::string firstWord = s1.substr(0, s1.find(” “)); Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Like this:Like Loading... Related Comments Cancel reply Notify me of follow-up comments by email. Notify me of new posts by email.Send
Comments