How to get a collapsed page format

If already in the page field of an item, a page range is typed say 123-128.How do I get an out put of 123-28

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.