Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Ex of String methods
//gcc 5.0.4 #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSString *clgname = @"Atmiya"; NSString *address = @"yogidham,Rajkot"; NSString *universityname = @"Atmiya university"; NSLog(@"%@", [clgname uppercaseString]); NSLog(@"%@", [clgname lowercaseString]); NSRange r = [universityname rangeOfString:@"university"]; NSLog(@"%lu %lu",r.location, r.length); NSLog(@"%@",[universityname stringByAppendingFormat:@" %@",address]); NSLog(@"%@",[clgname stringByAppendingFormat:@" %@",address]); [pool drain]; return 0; }
run
|
edit
|
history
|
help
0
objective c fibonanci
linear hybrid cellular automaton reversible random bit generator
Obj-C_Program_Structure_1
Func Var and Ops ObjC
NSArray Method Exercise
First Program : (+,-,*,/)
geomatric operations in objective c
asdfghjk
represent value
aditation