NSString *string = @
" spaces in front and at the end "
;
NSString *trimmedString = [string stringByTrimmingCharactersInSet:
[NSCharacterSet whitespaceAndNewlineCharacterSet]];
2023-12-30 22:13:40
NSString *string = @
" spaces in front and at the end "
;
NSString *trimmedString = [string stringByTrimmingCharactersInSet:
[NSCharacterSet whitespaceAndNewlineCharacterSet]];
下一篇:myeclipse 注释模板