I see that python code is much shorter when it comes to string problems. But when it comes to C++ I feel my code is too long and clumsy. Lately I have discovered stringstream along with getline() function to be somewhat more powerful as it provides a way to parse tokens by skipping delimiters. Are there other STL functions you would recommend to make string processing code in C++ shorter? I have been looking at problem specific discuss threads to learn some nifty string processing tricks that's where I learned about stringstream. Are there other functions in C++ which would make handling string problems easier like python does? Any examples would be helpful.