title: Check if array contain specific string
body: <p>I am saving different codes in a array and now want to check if one code is in the array.</p>
  
  <p>I searched a bit around but nothing working...</p>
  
  <p><strong>Here you see how my array looks:</strong></p>
  
  <pre><code>2013-04-28 12:43:23.877 myApp[9422:907] PushArray: (
      {
      code = 123;
      titel = "Test 01";
  },
      {
      code = 456;
      titel = "Test 02";
  },
      {
      code = 789;
      titel = "Test 03";
  }
  )
  </code></pre>
  
  <p><strong>I tried this to check:</strong></p>
  
  <pre><code>NSString *code = [NSString stringWithFormat:@"123"];;
  
  if ([PushArray containsObject:code]) {
      NSLog(@"Code true!");
  }else {
      NSLog(@"Code false!");
  }
  </code></pre>
  
  <p>But every time I get "<strong>Code false!</strong>" back...</p>