RE: NSString Variable Comparision
RE: NSString Variable Comparision
- Subject: RE: NSString Variable Comparision
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Wed, 9 Jul 2003 14:20:50 -0400
if ([string1 isEqualToString:string2])
There's a whole section of the NSString docs entitled "Identifying and
comparing strings." It's really useful.
Jonathan
>
-----Original Message-----
>
From: email@hidden
>
[mailto:email@hidden]On Behalf Of Vibhu Mishra
>
Sent: Wednesday, July 09, 2003 1:04 PM
>
To: email@hidden
>
Subject: NSString Variable Comparision
>
>
>
Greetings again,
>
Can I compare two NSString Variables, if so how do I do it?
>
I believe for two integer, float etc variables, we use
>
if (int a == int b){
>
//
>
}
>
What do I do for two NSString variables.
>
>
...
>
Vibhu
>
_______________________________________________
>
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.
_______________________________________________
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.