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
asdfghjk
PRogram 3.2 - simple class
basic arithmatic Opreation in objective C
Etudiant.m
Class implementation
emp class
abc
Goldbach Conjecture
if con boleanos 01
objective-c size of datatypes