On Aug 16, 2011, at 6:16 PM, Thorsten Hohage wrote: > NSArray *keyArray = [key componentsSeparatedByString:@"#"]; > > NSString *arrayKey = [keyArray objectAtIndex:0]; > NSString *pathKey = [keyArray objectAtIndex:1]; > > arrayKey = [arrayKey stringByReplacingOccurrencesOfString:@"#" > withString:@""];
A small observation: you don't need this last line, because there is no way arrayKey can contain "#". --Andy _______________________________________________ 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 arch...@mail-archive.com