æååã®ç®¡çï¼NSStringï¼ Cocoaä¸ã§ã®æååã®ç®¡çã¯ãNSStringãã¯ã©ã¹ã«ã¦è¡ããã¨ãã§ãã¾ãã æååã¯ã©ã¹(NSString)ã®çæ ã«ã©ã®æååãçæãã¾ãã NSString *pStr = [[NSString alloc] init]; æååã¯ã©ã¹ã®ç ´æ£ çæããæååã解æ¾ãã¾ãã [pStr release]; 使ç¨å¾ã¯å¿ ã解æ¾ããããã«ãã¦ãã ããã 以éãpStrã¯ãNSString *ãåã¨ãã¾ãã æååãä»£å ¥ pStr = @"æååã§ã"; 決ã¾ã£ãæååãå ¥ããå ´åã¯ãã@"ã"ãã®ä¸ã«æååãå ¥ããããã«ãã¾ãã æååã®é·ããåå¾ int len = [pStr length]; ãlengthãé¢æ°ã«ã¦æååã®é·ããæ±ãã¾ããå ¨è§ã¯1æåã«ã«ã¦ã³ãããã¾ãã®ã§ï¼ãã¤ãæ°ã§ã¯ãªãã§ãï¼æ³¨æãã¦ãã ããã æååãé£çµãã NSStrin
{{#tags}}- {{label}}
{{/tags}}