Home | Projects | Notes > C++ Programming > String Manipulation

String Manipulation

 

String Tokenization

To use the C++ feature, we have to convert a string to a string stream. Then using getline() function we can do the task. The getline() function takes the string stream, another string to send the output, and the delimiter to stop the stream from scanning.

For example,