Re: How to count composed characters in NSString?
Re: How to count composed characters in NSString?
- Subject: Re: How to count composed characters in NSString?
- From: Peter Edberg <email@hidden>
- Date: Sun, 28 Sep 2008 20:37:57 -0700
On Sep 28, 2008, at 3:05 PM, Peter Edberg wrote:
David,
Check out CFStringGetRangeOfComposedCharactersAtIndex. It finds the
kinds of text boundaries that I think you are interested in. You
would just need to iterate over the string calling this for each
iteration to find the next boundary.
Apologies, I see now that your in your original post you already
mentioned rangeOfComposedCharacterSequenceAtIndex. That would be
preferred :-)
-Peter
_______________________________________________
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