title: VB.NET - Remove a characters from a String
body: <p>I have this string:</p>
  
  <pre><code>Dim stringToCleanUp As String = "bon;jour"
  Dim characterToRemove As String = ";"
  </code></pre>
  
  <p>I want a function who removes the ';' character like this:</p>
  
  <pre><code>Function RemoveCharacter(ByVal stringToCleanUp, ByVal characterToRemove)
  ...
  End Function
  </code></pre>
  
  <p>What would be the function ?</p>
  
  <p><strong>ANSWER:</strong></p>
  
  <pre><code>Dim cleanString As String = Replace(stringToCleanUp, characterToRemove, "")
  </code></pre>
  
  <p>Great, Thanks!</p>