Re: Splitting strings....
Re: Splitting strings....
- Subject: Re: Splitting strings....
- From: Allan Odgaard <email@hidden>
- Date: Sat, 28 Feb 2004 17:42:35 +0100
On 28. Feb 2004, at 17:31, Jerry LeVan wrote:
if([workingString characterAtIndex:i] == '\'') {
When going through the entire string, Apple recommends against this
method -- I think the reason is that the underlying string might not be
unicode, so it may need a mapping from your requested index to the
actual buffer index. Although I don't think this mapping will ever be
anything but O(1), except if they have special string classes for UTF8
(which I guess they may have).
Seems to be working....
But it doesn't handle quotes inside strings!?!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.