title: How to check if text1 contains text2 using vb6?
body: <p>How to check if text1 contains text2 using vb6 ?</p>
  
  <pre><code>Dim text1 as string
  Dim text2 as string
  
  text1 = "hello world I am Anas"
  text2 = "Anas"
  
  if (check if text2 is in text1) 'the result should be true or false
  </code></pre>