I have an int variable that basically looks something like this:
101137111
What I want to do, is replace an INT at a particular point. So for example, if I wanted to change the 7 with a 9. How would I achieve that? Bearing in mind that I don't want to search for a 7, because there might be 7's before.
So, another example:
var number = 101137111;
var newNumber;
newNumber = number.replaceAtPosition('4') andReplaceWith (9);
so now that should change the 3 to a 9