NSString
Convert (변환) ■ char* > NSString char szText[] = "convert test"; NSString* strText = [NSString stringWithUTF8String:szText]; ■ NSString > char * NSString *strText = @"convert test"; const char* szText = [strText UTF8String]; Find (검색, 찾기) ■ containsString : 문자열이 포함되었는지 확인 NSString *str = @"find objective-c string "; if ([str containsString:@"objective-c"]) { NSLog(@"문자열 존재함."); } else { NSLog(@"문..
2016.03.16