C++ splitting string? -
C++ splitting string? -
this question has reply here:
split string in c++? 64 answersi'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
Post a Comment