c++ remove whitespace from multiline string code example Example: c++ remove trailing whitespace remove trailing whitespace