title: Remove tailing characters
body: <p>Please tell me way to remove <code>=</code> and newline character <code>\n</code> from the end of string which is embedded between &lt;>.</p>
  
  <p>For example input string</p>
  
  <pre><code>set string "abcd  1234   abc=
  "
  </code></pre>
  
  <p>i just want to remove = and new line from end</p>