Well I want to split a string into a vector string
1 2 3 4 5 6 7
std::string frase = "My Name \n is something";
std::vector<std::string> lines;
std::string breakFrase;
.......?????????????....
lines.push_back(breakFrase);
I want to have:
lines.at(0) == "My Name "
lines.at(1) == "is something"
I tried somethings that I find online, but I`m always geting exactly:
lines.at(0) == "My Name \n is something"