Re: Unicode case conversion
Re: Unicode case conversion
- Subject: Re: Unicode case conversion
- From: Kevin Ballard <email@hidden>
- Date: Wed, 24 Nov 2004 22:55:26 -0500
Why not just create a copy with -copy and make that one lowercase, then
do your comparisons on that string?
On Nov 24, 2004, at 9:04 PM, Robbie Haertel wrote:
I'm not very knowledgeable about the unichar type. I need to compare
characters one-by-one so I use the characterAtIndex: from NSString to
get the character and use '==' et al to do the comparison. However,
in some cases I need to change the unichar to lower and compare them.
What function will do this? I can't just convert the NSString to
lowercase a priori because I need to maintain the case information in
most cases. I'm sure there is a simple lower() function that takes a
unichar argument.
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden