No need for jQuery for the actual string manipulation - a little clunky, but easy to understand:
text = 'Something -that - has- dashes - World';
parts = text.split('-');
loc = parts.pop();
new_text = parts.join('-');
So,
loc == ' World';
new_text == 'Something -that - has- dashes ';
Whitespace can be trimmed or ignored (as it often doesn't matter inside HTML).