NSString has a length property to get the number of characters. NSString *string = @"example"; NSUInteger length = string.length; // length equals 7.
確定! 回上一頁