|Jun 9, 2011, 07:45 AM||#1|
How can find a string in NSString?
please tell me how can i find the NSString variable contains given string or not?
and it should not be case sensitive.
like "Ani" find in ani, ANI, Ani, aNi , anicol ,ANIMAL etc.
please help me for this thanks in advance.
|Jun 9, 2011, 07:58 AM||#4|
As jiminaus said... the documentation is your friend:
The appropriate method is rangeOfStringptions: with NSCaseInsensitiveSearch as your option mask.
It sounds like, based on your posts, that you are trying to write a program without having learned the language/frameworks. You might want to start here:
|Jun 9, 2011, 05:02 PM||#5|
Also "match" should be "nicknameFoundInNameOfBaby" or "subtypeFoundInTypeOfBuilding" or something like that.
LearnerSixMonthsFromNow will thank Learner.
iMac 21.5", 3.06GHz, 4 GB, 2 TB HD.
iPod Touch 3G.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Searching an NSMutableArray of Objects to find a string||IDMah||iPhone/iPad Programming||10||Oct 14, 2011 10:47 AM|
|How can find guest user account in pc?||newformac||Mac Programming||2||Jul 1, 2011 05:19 AM|
|How to find live music in my area?||thecritix||Music Discussion||0||Jul 21, 2008 05:28 AM|
|How to find hidden files in 10.3.9||ezsobre||OS X||1||Dec 18, 2007 08:18 PM|
|how to find video podcasts in itunes?||andiwm2003||Mac Applications and Mac App Store||0||Oct 19, 2005 10:02 PM|
All times are GMT -5. The time now is 01:04 AM.