Just to chime in The RegexKit linked below is absolutely
FANTASTIC. I use it pretty much any time I need to do beyond-basic
text manipulation. RegexKitLite is some NSString categories, allowing
you to do things like [myString isMatchedByRegex:@"some regex"] and so
on. It's incredibl
On Tue, Mar 31, 2009 at 6:21 PM, Steve Cronin wrote:
> Folks;
>
> I'm reading input from a text file (stringWithContentsOfFile) I have no
> control over.
> Testing is going well until a I encounter a phrase is wrapped in curly
> quotes.
> (Note phrases wrapped in straight quotes are fine)
>
> Wit
Steve Cronin wrote:
I'm reading input from a text file (stringWithContentsOfFile) I
have no control over.
Testing is going well until a I encounter a phrase is wrapped in
curly quotes.
(Note phrases wrapped in straight quotes are fine)
Without trying to digest the entirety of the Mac OS Tex
On Mar 31, 2009, at 4:21 PM, Steve Cronin wrote:
Without trying to digest the entirety of the Mac OS Text Encoding
system, can someone suggest a simple way to detect these characters?
You can use NSScanner with a character set containing quote
characters. The ones you probably want are 0x
Folks;
I'm reading input from a text file (stringWithContentsOfFile) I have
no control over.
Testing is going well until a I encounter a phrase is wrapped in curly
quotes.
(Note phrases wrapped in straight quotes are fine)
Without trying to digest the entirety of the Mac OS Text Encoding