C++ Question re stringstream
Still new to string functions. I realize while (getline(ss, T, ',')) will find commas and create tokens(T). In the case the string has a few chars I want to create tokens around, is there a way to adjust for this so it not only finds ',' but say '/' and ' ' as well? So for example modifying it to find ispunct()? I've attempted to look this up (for ex.) https://cplusplus.com/reference/sstream/stringstream/ but find some of the descriptions are still slightly over my head. At the moment I've found ways around this but it's sloppy and ends up using multiple stringstreams, end code is messier than I'd like. I can easily remove all punctuation from a string but then I have no tokens. Any suggestions appreciated.