you can use some methods of NSString, but I doubt wether NSString performs well with really big string. I once tried to work with the Unix tool 'grep' for searching something in the iTunes Library xml file. That was amazingly fast! You can use it in cocoa with NSPipe etc.

Op 13-jun-2009, om 7:55 heeft Angelo Chen het volgende geschreven:

Hi,
I need to open a big file and search for a certain string, if found, I need tup do some updates and write back the file, any idea what approach I should take? Thanks,
Angelo


Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http:// hk.promo.yahoo.com/security/ 了解更多!
_______________________________________________

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/cocoa-dev% 40yaranga.nl

This email sent to cocoa-...@yaranga.nl

_______________________________________________

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

Reply via email to