I need to select last two characters from the variable, whether it is digit or letters.

For example:

var member = "my name is Mate";

I would like to show last two letters from the string in the member variable.

10 Answers
10

Leave a Reply

Your email address will not be published. Required fields are marked *