I have this string 10-12-1999
and I want to store the values into a different variables like this:
So I have this string data= 10-12-1999
and I want to store it like this
int day =10;
int month = 12;
int year = 1999;
Can anyone point me into the right direction?