title: How do I replace the last character in a string with VB6?
body: <p>How do I replace the last character in a string with VB6? I've got the syntax</p>
  
  <pre><code>Replace$(expression, find, replacewith[, start[, count[, compare]]])
  </code></pre>
  
  <p>but I can't seem to find the right use of it. I've got something like</p>
  
  <pre><code>iLength = Len(sBuild)
  sBuild = Replace(sBuild, "^", "ú", iLength, 1)
  </code></pre>
  
  <p>This isn't working but I can't seem to find any examples online.</p>
  
  <p>Thanks!</p>