title: Finding word in NSString and checking before and after character this word?
body: <p>How to find word in <code>NSString</code> and check characters before and after this word? </p>
  
  <p><code>"This pattern has two parts separated by the"</code></p>
  
  <p>How to find <code>tern</code> and how to check the character before and after </p>
  
  <p>Before word character:<code>"t"</code>
  After word character:<code>" "</code> </p>