I've been dealing with C++ strings and currently I am wondering how can I split the article of a string and the data that's left.
Let's say I have this string:
a gold coin
How can I split the article which in this case is a into a separate string and then get all the other data contents into a different string which in this case is gold coin?
Please note that the article can sometimes be an and sometimes have no article.
Edit I am not trying to split strings from a space token I am splitting special words from the string in condition for extracting a pronoun article name and the pronoun string.