Hi, I'd like to filter an array to return only jpeg file names like DSC0001.jpg, DSC0002.jpg, etc. could anybody help me modify the jpegPredicate for that mater? thanks
NSPredicate *jpegPredicate = [NSPredicate predicateWithFormat:@"SELF [c] 'b'"]; NSArray *lst = [[[NSFileManager defaultManager] directoryContentsAtPath:aDir] filteredArrayUsingPredicate:jpegPredicate]; 為了不斷提升Yahoo! Mail,雅虎香港誠邀你參與意見調查。請前往http://surveylink.yahoo.com/wix/p5429076.aspx 發表你的意見! _______________________________________________ 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]