title: Alternative to using InStr
body: <p>how can I use a different function "InStr"
  this is the code that I am using and works fine but moving away from InStr is my goal</p>
  
  <pre><code>i = InStr(1, Hostname, Environment.Newline)
  </code></pre>