title: Powershell .TrimEnd not returning correct result
body: <p>Running the following</p>
  
  <pre><code>$x = "CF21_flddep-op-config"
  $x.TrimEnd("-op-config")
  </code></pre>
  
  <p>Results in:</p>
  
  <pre><code>CF21_fldde
  </code></pre>
  
  <p>When it should be displaying:</p>
  
  <pre><code>CF21_flddep
  </code></pre>
  
  <p>Any ideas why?</p>