characterAtIndex: method and composite characters
characterAtIndex: method and composite characters
- Subject: characterAtIndex: method and composite characters
- From: "Ewan Delanoy" <email@hidden>
- Date: Wed, 4 Apr 2007 17:05:27 +0200 (CEST)
- Importance: Normal
Hello all,
even after browsing NSString.h and part of the documentation, I'm not
sure about
the answer to the following questions :
-when an NSString or
NSAttributedString (let's call it s) appears on-screen as, say, "(a with
tilda)(other characters ...)" is
it guaranteed that [s characterAtIndex: 0] will be "a with tilda", and
not "a" (with "tilda" for a second
character) ?
-If this is not the case, I need a more accurate version of
"characterAtIndex:". Is this already
built-in ?
TIA,
Ewan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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