Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
string
//gcc 5.0.4 #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSString *clgname=@"Atmiya"; NSString *address=@"Yogidham"; NSString *university=@"Atmiya University"; NSLog(@"%@",[clgname uppercaseString]); NSLog(@"%@",[address uppercaseString]); NSLog(@"%@",[university uppercaseString]); NSLog(@"%@",[clgname lowercaseString]); NSLog(@"%@",[address lowercaseString]); NSLog(@"%@",[university lowercaseString]); NSRange searchresult=[university rangeOfString:@"University"]; NSLog(@"'Atmiya' starts at index %lu and is %lu and is %lu character long",searchresult.location,searchresult.length); NSString *new =[clgname stringByAppendingString:address]; NSLog(@"%@",new); }
run
|
edit
|
history
|
help
0
array
objective c fibonanci
Func Var and Ops ObjC
NSMutableStringProgram
geomatric operations in objective c
First Program : (+,-,*,/)
PRogram 3.2 - simple class
Author1
datatype
NSMutable Exercise