title: issue with StringByReplacingOccurrencesOfString options:NSCaseInsensitiveSearch
body: <p>The options:NSCaseInsensitiveSearch is crashing my app when I have it in the following. Does anyone know why this might be?</p>
  
  <pre><code>NSString* string3 = [[[[tvQ.text stringByReplacingOccurrencesOfString:@"\n"
      withString:@" " options:NSCaseInsensitiveSearch range:wholeString]
          stringByReplacingOccurrencesOfString:@"&amp;" withString:@"and"]     
              stringByReplacingOccurrencesOfString:@"ç" withString:@"c"] 
                  stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding];
  </code></pre>
  
  <p>Error from X-Code:
   error: 'wholeString' not defined</p>