Hey guys. I have the following string array, say,
string array[2];
array[0] = "hello7925";
array[1] = "bye344539";
I want to read the last two characters from each string in the array, which in this case are 25 and 39 and then put them in a separate array like this..
int array_integers[2];
array_integers[0] = 25;
array_integers[1] = 39;
the end of every string will have a integer thats why the second array is of type int.
I am kind of stuck on this part. Any suggestions would be greatly appreciated. Thanks in advance.