I am writting a program which has to search through strings. Up until now I have been using the code
for example. The problem now is that I now need to search through for one of four characters + - / * and return the position of the first symbol it comes across or -1 if it can not find any.
Can I do this using the find_first_of method or do I have to do it another way ??
Thank you for your help