Hello list. Very simple question.

[@"a" compare:@"b" options:0 range:NSMakeRange(3,4)];

... does not raise an exception.

The doc for this method says : "Important: Raises an NSRangeException if range exceeds the bounds of the receiver."

Question: is this a bug in cocoa or in the doc ?

MacOSX 10.5.5, Intel.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to