title: How can I replace a word at a specific index while returning the whole string?
body: <p>I'm looking to replace a specific word in my program with a repetition asterixes.</p>
  
  <p>Here is my current function:
  Word is the word being replaced.</p>
  
  <pre><code>mystring = tbText.text
  mystring = Replace(mystring, word, "***", 5, 1)
  </code></pre>
  
  <p>The issue here is the fact that mystring returns just the replaced word rather than returning the entire string, reasoning for this being, the word at index 5 and ending in index 10 is only being returned due to the minimum index and maximum index set.</p>
  
  <p>Is there another function I can use to replace the specific word while returning the entire string with the word replaced?</p>