NSRange in string

Thanks for the tip. Found this one through auto-completion (no documentation): NSRange.init(region:in:), which seems like a much better option than init(location:length:).