I have this code: $sub=$_GET['sub'];
It gets a variable which typically looks like this: 00100004005324ABCo
I want to create another variable called subtest which will store the string above except changes the last character to an x.
How can I do that?
Thanks,
Jon