NSString with \n or line break

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-03-17T01:00:27Z Indexed on 2010/03/17 1:01 UTC
Read the original article Hit count: 415

Filed under:
|
|

Does anyone know how to use line breaks in NSString? I need to do something like this -

[NSString stringWithFormat:@"%@,\n%@", mystring1,mystring2];

© Stack Overflow or respective owner

Related posts about nsstring

Related posts about newline