文字列オブジェクトについて
文字列の長さを取得
lengthを使います。
int len = [@"hogehoge" length];
文字列の切り出し
substringを使います。
title = [title substringToIndex:9];
title = [title stringByAppendingString:@"…"];
文字列オブジェクトについて
lengthを使います。
int len = [@"hogehoge" length];
substringを使います。
title = [title substringToIndex:9];
title = [title stringByAppendingString:@"…"];