Folks;
(thePhrase) : Geschäftsführer (CEO):
(tString): Geschäftsführer (CEO)
Both
curPos = [thePhrase rangeOfString: tString
options:NSCaseInsensitiveSearch].location;
AND
NSLocale *tLocale = [[[NSLocale alloc]
initWithLocaleIdentifier:@"de_DE"] autorelease];
curPos = [thePhrase rangeOfString: tString
options:NSCaseInsensitiveSearch range:NSMakeRange(0, [thePhrase
length]) locale:tLocale].location;
yield curPos == NSNotFound
Here's some printout from the console:
Printing description of thePhrase:
Gesch\u00e4ftsf\u00fchrer (CEO):
Printing description of tString:
Gesch\u00e4ftsf\u00fchrer (CEO)
What am I not understanding here?
Steve_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]