testing equality for the last digit in a string
Hiya guys,
I just thought I might ask a question, just as a change. My question is, I'm testing to see if the last digit of a string is the same as something else (it is meant to ignore the last digit). My problem is however, if there are numbers the same as the last digit, it will ignore them as well, as they are == to the last digit. My problem therefore, is how am I meant to check if is the last digit, rather than equal to the last digit.
thankyasall,
bernie