These functions are used to create and manipulate NSRange structures.
BOOL NSEqualRanges(NSRange range1, NSRange range2)
NSRange NSIntersectionRange(NSRange range1, NSRange range2)
BOOL NSLocationInRange(unsigned int index, NSRange aRange)
NSRange NSMakeRange(unsigned int location, unsigned int length)
unsigned int NSMaxRange(NSRange range)
NSRange NSRangeFromString(NSString *aString)
NSString *NSStringFromRange(NSRange range)
NSRange NSUnionRange(NSRange range1, NSRange range2)