title: Removing line break powershell
body: <p>I am having an issue with a line break in my data. The array was made with an out-string followed by -split. If you want to see that part of the script let me know.</p>
  
  <pre><code>foreach ($item in $array) {
  "_"+$item+"_"
  }
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>_
  itemname_
  </code></pre>
  
  <p>Desired Output:</p>
  
  <pre><code>itemname
  </code></pre>
  
  <p>I've tried inserting:</p>
  
  <pre><code>$item.replace('`','')
  </code></pre>
  
  <p>Without any change. Any ideas?</p>