so in python you can split strings like this:
string = "Hello world!"
str1 , str2 = string.split(" ")
print(str1);print(str2)
and it prints:
Hello
world!
How can i do the same in C++? This wasn't useful Parse (split) a string in C++ using string delimiter (standard C++) , i need them splited so i can acces them separatedly like print just str1 for example.