What would be the cleanest way of doing this that would work in both IE and Firefox?
My string looks like this
sometext and the integer after the dash can be of varying length.
Should I just use
substring and index of or are there other ways?