Graham Cox wrote on 2008-04-28 11:36:32: > Bear in mind that the question "what is a word?" is far from trivial > to universally answer. So in fact determining the boundaries of a word > can be complex. As far as I can glean from the docs, this job falls to > NSTypesetter, though there isn't an obvious method that simply returns > a word.
"CFStringTokenizer allows you to tokenize strings into words, sentences or paragraphs in a language-neutral way." http://developer.apple.com/documentation/CoreFoundation/Reference/CFStringTokenizerRef/Reference/reference.html Should fit the bill ;-) Graham. -- Graham Lee Senior Macintosh Software Engineer, Sophos Tel: 01235 540266 (Direct) 01235 559933 (Reception) Web: http://www.sophos.com Sophos - security and control Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. _______________________________________________ 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]