0

How do you calculate age by using substring?

i need an example of coding, thanks in advance 😊

26th Jun 2016, 8:41 AM
Jayy
Jayy - avatar
1 Answer
+ 2
honestly. I don't think from the information you provided that I'd be able to answer that question. Assuming you want a numerical value for your age. The substring method works on Strings not numbers. So it's not possible.
26th Jun 2016, 11:13 AM
John McEnery
John McEnery - avatar