Re: Unicode case conversion
Re: Unicode case conversion
- Subject: Re: Unicode case conversion
- From: Robbie Haertel <email@hidden>
- Date: Wed, 24 Nov 2004 21:03:04 -0700
I could, but that doesn't lend itself well to my application. If
worse comes to worst, that is what I'll have to do, but it would be
best if there was a "tolower()" for unichar.
On Wed, 24 Nov 2004 22:55:26 -0500, Kevin Ballard <email@hidden> wrote:
> 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
>
>
>
_______________________________________________
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