title: Powershell: Using substring in pipeline
body: <p>is there a possibility to manipulate the items in a pipeline of powershell?
  In more concrete words: I start my pipeline with an "svn list". This returns me a list of paths in my repository, all directories with a trailing "/". The list of paths should be stored in an array, but without the "/".
  This:</p>
  
  <pre><code>svn list svn://server/repository/myPath | $_.TrimEnd("/")
  </code></pre>
  
  <p>does not work because TrimEnd is an expression and may not be used within a pipeline.
  The result of the pipeline should be something like</p>
  
  <pre><code>$a = @("foo", "bar)
  </code></pre>
  
  <p>Thanks in advance for your answers.</p>