0
str=[NSString stringWithFormat:
@"Person1:%[email protected],Person2:%[email protected],Person3:%[email protected]",
@"Ann",@"Peter",@"jackson"];
我想要顯示它想:的如何一直格式化NSString爲相同的字母大小?
Ann Peter jackson
代替:
Ann,Peter,jackson
可能重複http://stackoverflow.com/a/8651226/95976 – tofi9 2015-02-07 03:01:20
可能複製[如何用空格填充NSString?](http://stackoverflow.com/questions/8651210/how-to-pad-nsstring-with-spaces) – tofi9 2015-02-07 03:04:19