Re: Approaches for this Matching Problem?
Re: Approaches for this Matching Problem?
- Subject: Re: Approaches for this Matching Problem?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Mon, 22 Jun 2009 14:46:23 +0200
On 22 Jun 2009, at 11:41, Chris Suter <email@hidden> wrote:
On Mon, Jun 22, 2009 at 6:10 PM, Steve Cronin<email@hidden>
wrote:
But what is the right solution??
For finding word boundaries, I think you're supposed to use
NSAttributedString's nextWordFromIndex:forward: and
doubleClickAtIndex: methods.
There also is CFStringTokenizer which can do plain (non-attributed)
NSStrings.
Bear in mind that some languages don't really have the concept of
words.
Could you please elaborate? Maybe some examples?
(There are many languages which do not seperate words by spaces - but
languages without words: this is something new for me.)
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden