Don't think that's very feasible. An NSRange is made up of characters while a these methods are made up of lines.