I have an invoice number. I would like to replace the 3rd last character with a dot (.)
Example:
XA260153758i01
I would like to replace the small i
with dot (.):
XA260153758.01
Now, the small i
could be anything, So I do not know what character will be in the 3rd last postion, I only know that the 3rd last character should always be replaced with a dot (.)
How to script that ?