New course! Every coder should learn Generative AI!
Try a free lesson0
How do you calculate age by using substring?
i need an example of coding, thanks in advance 😊
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.