title: How to get NSString with variables?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/11420100/how-to-assign-to-the-nsstring-object-a-nsstring-with-variables">How to assign to the nsstring object a NSString with variables?</a>  </p>
  </blockquote>
  
  
  
  <p>When I try to display that nsstring object, I get this:</p>
  
  <blockquote>
    <p>TOTAL OF TIME: l</p>
  </blockquote>
  
  <p>Instead of that I want to get: 02:35</p>
  
  <p>How to do that ? Thank you!</p>
  
  <pre><code>allTime = [NSString stringWithFormat:@"%l/%l", mins, secs];
  for(Playlists *thePL in collection)
      {
          NSLog(@"===NEXT PLAYLIST===");
          NSLog(@"Name: %@", thePL.namePL);
          NSLog(@"Quantity of songs: %i", thePL.entries);
          NSLog(@"Total of time: %@",thePL.allTime);
      }
  </code></pre>