I would really appreciate some help with the following issue:
I have a number (Eg: 151), and I have to check two things:
Is it a three digit number?
Does it start with “1”?
If yes to both those conditions, I have to replace the first “1” with “0”. Thus, “151” should be changed to “051”. Unfortunately, I cannot simply subtract 100 from the number as the result will be “51”. Are there any other ways to do this? Can anyone help me with this?