c++ quetion string- int get the last character
-
wrote on 2 Nov 2022, 13:57 last edited by
if I have many string like this:
"hello250"
"dog256454"
"boy14" and etc...
but the concept is always string->int
how can I get the last char before the number- integer? -
if I have many string like this:
"hello250"
"dog256454"
"boy14" and etc...
but the concept is always string->int
how can I get the last char before the number- integer?
1/2