I have the following dates:
"Friday, January 31",
"Wednesday, February 12",
"Monday, February 17",
"Wednesday, March 5",
I want to set up a string function where I am given the number always:
31
12
17
5
I started with this function:
String strCheck = suspendedDates[i];
int pos = strCheck.length();
int pos2 = strCheck.indexOf(" ");
I am stuck right now, because how does it know which " " is it?
Can someone help me with the function.