title: What's the easiest way to remove empty NSStrings from an NSArray?
body: <p>In PHP it's one line of code:</p>
  
  <pre><code>$array_without_empty_strs = array_filter($array_with_empty_strs);
  </code></pre>
  
  <p>What's the objective C equivalent?</p>
  
  <p>UPDATE - Added the following test code to illustrate the use of Nikolai Ruhe's solution:</p>
  
  <pre><code>// SOLUTION Test Code
  NSMutableArray *myArray = [[NSMutableArray alloc] init ];
  [myArray addObject:[NSNumber numberWithInt:5]];
  [myArray addObject:@""];
  [myArray addObject:@"test"];
  NSLog(@"%@", myArray);
  [myArray removeObject:@""];
  NSLog(@"%@", myArray);
  
  // SOLUTION Test Code Output
  2012-07-12 08:18:16.271 Calculator[1527:f803] (
      5,
      "",
      test
  )
  2012-07-12 08:18:16.273 Calculator[1527:f803] (
      5,
      test
  )
  </code></pre>