Is there a way to search for 4 types of arithmetic operators from a string and print the first occurrence of an operator?
For example, the user inputs a string, "3+4-7*6/8". How can I just retrieve the '+' sign?
Thank you so much Chervil.
Last edited on