title: How to break lines in PowerShell?
body: <p>I am [<em>completely new to PowerShell and</em>] concatenating a string in a loop, if a special condition occurs I should <strong>insert a line break...how can I do this?</strong></p>
  
  <p>Basically looking for the equivalent of <code>\n</code>.</p>
  
  <pre class="lang-bsh prettyprint-override"><code>$str = ""
  foreach($line in $file){
    if($line -Match $review){ #Special condition
      $str += ANSWER #looking for ANSWER
    }
    #code.....
  }
  </code></pre>
  
  <p>So far I have tried </p>
  
  <pre><code>"\n" '\n' "\N" '\N' "\r" '\r' "\R" '\R' '`n' '`r' '-n' '-r' 
  </code></pre>