I wonder if there is a good way to substring this string:
std::string OneString = "1,2,3,4,5,6,7,8,9";
so the substring will look like this:
1,2,3,4,5,6
So what I am trying to do or wonder is, if there is a good way to substring from the end and 3 Commas back.
For one Comma back it would have looked like this:
OneString.substring( 0, OneString.rfind(",") );
// Substring here would be: 1,2,3,4,5,6,7,8