I'm trying to find a way to split a string based on space, but haven't been able to find any simple or working solutions online. In python, we had a .split() function that worked easily, but not in C++.
For example, I'm trying convert this string:
"I love 29 pies"
to this vector:
{"I", "love", "29", "pies"}
Thanks in advance!