Added the function MAStringAndRangesWithFormat(), which, in addition to formatting the string, returns an array of NSRange values, one per token. The NSRanges indicate where in the output string each token was inserted.