When you read in a line of text (for example, with the getline function), you’ll often find you need to break it into smaller strings. For example, consider this text input:
Me, myself, and I.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.