title: XCODE writing from string to html file
body: <p>I have read html to string and changed it, I would like to write it (string) to some temporary file(html), and afterwards also would like to write over it new html file from string, how can this be done?? I am totally lost for now</p>
  
  <pre><code>NSString *htmlString =  [NSString stringWithContentsOfFile:@"pathToFile" encoding:NSUTF8StringEncoding error:nil];
  
  NSString *finalString = [htmlString stringByReplacingOccurrencesOfString:@"75" withString:@"900"];
  </code></pre>
  
  <p>and now I should write it back to some temporary html file !?</p>