I am working on a javascript project and got an issue.
I have values like this: 1231+, 83749M, 123199B
I can get the numeric values/number only by doing this:
var theNumber = parseInt(1231+);
But how can I get the trailing characters like: +, M, B? I can't use substring because there can be more than one character. But characters will be always at the trail.