title: Vb6 find replace code
body: <p>i want to replace only 1 string but what happens is it replaces all matching strings.</p>
  
  <p>i selected Ball from list1(listbox ) and find and replace that on text1 , it finders the value in text1 but other strings similar to the name ball gets changed also.</p>
  
  <p>i have a list1<br >
  i have text1.text  multiline</p>
  
  <p><strong>list1 keywords</strong><br >
  ground<br >
  swimming<br >
  snooker<br >
  Ball<br >
  james</p>
  
  <p><strong>text1.text</strong><br >
  hiker<br >
  Ball<br >
  Balla<br >
  jeans</p>
  
  <p>am using</p>
  
  <pre><code>If Text1.Text = list1.Text Then
  Text1 = Replace(Text1.Text, list1.Text, Text9.Text)
  end if
  </code></pre>
  
  <p>am trying to do exact keyword replace here but am failing to do so.</p>
  
  <p>am trying to <strong>replace Ball</strong> only but it replaces all matching keywords all together</p>
  
  <p>Ball should be replaced only but Balla also geting replaced</p>