NSMutableString *str, *str1;
//allocation here
i am using
[str appendString:str1]
is not working.
[str appendFormat:str1]
is not working.
So, how to append a NSMutableString
with another NSMutableString
.
@str
is an empty string
initialize to nil
. str1
has some value. [str appendString str1]
returns null
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…