Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
string search
//gcc 4.8.4 #import <Foundation/Foundation.h> int main(void) { NSString *name = @"Parth Ganatra"; NSString *search_name = @"a"; NSRange searchResult = [name rangeOfString:search_name]; if (searchResult.location == NSNotFound) { NSLog(@"Search string was not found"); } else { NSLog(@"%@ starts at index %lu and is %lu characters long",search_name, searchResult.location, // 13 searchResult.length); // 6 } }
run
|
edit
|
history
|
help
0
geomatric operations in objective c
PRogram 3.2 - simple class
find simple Interest in objective c
Convert String to NSData Json Object
Objective C NSSet Declaration
change case
NSMutable Exercise
book
First Program : (+,-,*,/)
array