What would be the cleanest way of doing this that would work in both IE and firefox.
My string looks like this: sometext-20202
Now the 'sometext' and the integer after the dash can be of varying length.
Should I just use substring and index of or is the other ways?
©2020 All rights reserved.