title: comparing a string to any permutations of @" "
body: <p>I want to compare a string a1 and get answer as YES if a1 contains any permutation of @&quot; &quot;. How can I do that? I have tried the following but it does not work.</p>
  <blockquote>
  <p>NSString *a1;</p>
  <p>BOOL isequals=([a1 compare:@&quot;      &quot; options:NSCaseInsensitiveSearch range:NSMakeRange(0,2)]==NSOrederedSame);</p>
  </blockquote>