String manipulation in c++ | Sololearn: Learn to code for FREE!


String manipulation in c++

Can anyone provide me with helpful links regarding string manipulation in C++ There are a lot of code coach problems regarding that but the tutorial given here doesn't go into much detail on strings. Any help would be appreciated.

1/13/2020 7:55:12 PM

Muhammad Ozair Attiq

1 Answer

New Answer


An official documentation should be your best friend. First, the official std::string class: The old string library from C includes some functions for checking for certain characters or transforming characters to upper-/ lowercase: std::getline() is useful when you want to read in strings with spaces: Stringstreams can also occasionally be helpful to you: And last, certain functions from the algorithm header work well in combination with strings: