how to extract the last two characters of a string?
Dear List,
can anybody help me explaining me how to extract the last 2 chars in a string? I tried to work with subString, shift, split, length and so on, but I can't get my code run.
I get a string by using event.target.name which is in my case "f_best_01".
I now want to extract the last 2 chars "01" in order to use it for further field addressing.
Thank you very much for your help,
Ralf
Ralf Könner