title: Remove dot character from a String C#
body: <p>Assume I have a string "2.36" and I want it trimmed to "236" </p>
  
  <p>I used Trim function in example</p>
  
  <pre><code>String amount = "2.36";
  String trimmedAmount = amount.Trim('.'); 
  </code></pre>
  
  <p>The value of trimmedAmount is still 2.36</p>
  
  <p>When <code>amount.Trim('6');</code> it works perfectly but with '.'</p>
  
  <p>What I am doing wrong? </p>
  
  <p>Thanks a lot
  Cheers</p>