I don’t know if my understanding is correct: If you enter the name: Laowang, click the query to display Laowang If you enter the increase: 170, click the query to display 170 If you If xxx is entered, the unrecognized string will be displayed. If so, the code is as follows for reference only:
I don’t know if my understanding is correct:
If you enter the name: Laowang, click the query to display Laowang
If you enter the increase: 170, click the query to display 170
If you If xxx is entered, the unrecognized string
will be displayed. If so, the code is as follows for reference only:
In fact, this operation mainly involves the processing of strings. If it is a String, it can also be processed using regular matching in C++11.