title: How to give line break to NSString iphone
body: <p>I'm trying to post an itinerary to facebook as an attachment from my travel app, I'm using NSMutableString to append all the itinerary events and dates but I don't know how to give a line break after an event.</p>
  
  <p>This is my code:</p>
  
  <pre><code>- (void)postItineraryToWall:(NSArray*)itineraryList{
  
      NSMutableString *description = [NSMutableString string];
  
      for (Itinerary *it in itineraryList) {  
          [description appendString:[NSString stringWithFormat:@"Evento: %@", it.event]];   
          [description appendString:[NSString stringWithFormat:@" en %@", it.place]];   
          [description appendString:[NSString stringWithFormat:@" el %@", it.eDate]];     
      }
  
          FBStreamDialog* dialog = [[[FBStreamDialog alloc] init] autorelease];   dialog.userMessagePrompt = @"Enter your message:";      dialog.attachment = [NSString stringWithFormat:@"{\"name\":\"Conectado desde TravelFan iPhone App\",\"caption\":\"Compartiendo itinerario\",\"description\":\"%@ \",\"media\":[{\"type\":\"image\",\"src\":\"http://www.site.com.mx/content/templates/default/images/logo_travel.jpg\",\"href\":\"http://www.site.com.mx/\"}]}", description];   dialog.actionLinks = @"[{\"text\":\"Obten App!\",\"href\":\"http://www.site.com.mx/\"}]"; [dialog show];
  
  }
  </code></pre>
  
  <p>I tried using \n in the last string appended but since the attachment has already a string format with many \ and " when I test it it does not show the attachment text and if I test it without the \n it show everything but all in one line like this:</p>
  
  <p>Event: expo at some museum 12/12/2011 12:00 Event: expo2 at some<br>
     museum 13/12/2011 13:00....</p>
  
  <p>And I want it to appear like this:</p>
  
  <p>Event: expo at some museum 12/12/2011 12:00<br>
     Event: expo2 at some museum 13/12/2011 13:00<br>
     ....</p>
  
  <p>EDIT: When I use \n and print with NSLog everything is the way I want but the attachment text does not appear in the facebook dialog screen, somehow the \n affects the whole attachment text.</p>
  
  <p>Hope anybody can help me with this.
  Thanks in adevance!! XD</p>