Re: NSString comparisons
Re: NSString comparisons
- Subject: Re: NSString comparisons
- From: Deirdre Saoirse Moen <email@hidden>
- Date: Tue, 13 Apr 2004 18:36:59 -0700 (PDT)
On Tue, 13 Apr 2004, Randall Perry wrote:
> Can anyone point me to examples of using NSString comparison methods? API
> doesn't give examples. Neither do the 2 WO books I have.
Why an NSString instead of a Java String?
String str1 = "foo";
int isDifferent = str1.compareTo("bar");
--
_Deirdre http://deirdre.net
"Ideally pacing should look like the stock market for the year 1999, up
and up and up, but with lots of little dips downwards...."
-- Wen Spencer on plotting a novel
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.