Change String Range functions to allow "i-j:p".

You can specify a step size in a string range with a colon. Function
"compactRange" is yet to be changed, as it's not used elsewhere.