Hello all. So i have a question about searching strings. I have the following if statement...
if (parser.get_tok en(i,2).at(0) =='#' && parser.get_toke n(i,2).at(1)==' 5'){
...
...
..
}
What I want to do is change where it says "=='5' " to be able to look for all numbers 0-9 instead of just 5. Any help would be awesome. Thanks.
if (parser.get_tok en(i,2).at(0) =='#' && parser.get_toke n(i,2).at(1)==' 5'){
...
...
..
}
What I want to do is change where it says "=='5' " to be able to look for all numbers 0-9 instead of just 5. Any help would be awesome. Thanks.
Comment