-1
나는 종류의 같은 문자열의 끝에서 쉼표을 절단해야문자열의 자름, 특히 끝의 쉼표.
대신 whitespaceCharacterSet의NSString *string = @" this text has spaces before and after ";
NSString *trimmedString = [string stringByTrimmingCharactersInSet:
[NSCharacterSet whitespaceCharacterSet]];
이 commaCharacterSet 같은 것이 있나요?
! 들으! – stackOverFlew