I try to split a string with multiple delimiters (spaces and parenthesis), but all I managed to do is a split with one delimiter thanks to getline(...)
.
Here's an example of what I try to do:
hello world(12)
And I would like to get theses as strings:
hello
world
(
12
)
Any help?