How to check string vector for a certain letter or phrase?
<p>I have a string vector in C++ with this [Apples,Orangesandgrapes], Now i would like too search the vector not for the whole string but the part of the string that says "andgrapes" and would like to change it too, "nograpes". All just an example.</p>

<p>Answer on <a href="http://stackoverflow.com/questions/3497310/substring-search-interview-question">Substring search interview question</a>
Sorry I couldn't make it clearer.</p>
