C++ splitting string? -



C++ splitting string? -

this question has reply here:

split string in c++? 64 answers

i've been dealing c++ strings , wondering how can split article of string , info that's left.

let's have string:

a gold coin

how can split article in case a separate string , other info contents different string in case gold coin?

please note article can an , have no article.

edit not trying split strings space token splitting special words string in status extracting pronoun article name , pronoun string.

you can utilize

.replace

str.replace(str.begin()+1,str.end()1,1,'');

the reference

c++ string split

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -