興趣導向程式設計
讓興趣主導學習!
2016年11月30日 星期三
NSString::取得字串長度(Get NSString Length)
NSString::取得字串長度(Get NSString Length)
NSString *str1 = @"This is string A"; NSLog(@"Length of str1: %lu", [str1 length]);
執行結果:
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)