title: Doesn't contain split method
body: <p>Here is my code:</p>
  
  <pre><code>$fPath = Get-Content .\param.txt | Select-String 'adresse' -SimpleMatch
  fPath = $fPath.split("=")[1]
  $fPath
  
  $paramListe = Get-Content .\param.txt | Select-String 'type' -SimpleMatch
  $paramListe = $paramListe.split("=")[1]
  $paramListe
  
  $seuil = Get-Content .\param.txt | Select-String 'seuil' -SimpleMatch
  $seuil = $seuil.split("=")[1]
  $seuil = $seuil
  
  $relanceAuto = Get-Content .\param.txt | Select-String 'relanceAuto' -SimpleMatch
  $relanceAuto = $relanceAuto.split("=")[1]
  $relanceAuto
  </code></pre>
  
  <p>And here is the imported .txt:</p>
  
  <pre class="lang-none prettyprint-override"><code>adresse=o:\******\******\DataIntegrator
  type=logiciel
  seuil=0
  relanceAuto=yes
  </code></pre>
  
  <p>I want those variables to get the value next to the "=" sign. But everytime I launch the programm, it keeps telling me those are not strings:</p>
  
  <blockquote>
    <p>[Microsoft.Powershell.Commands.MatchInfo] does not have a method called "split".</p>
  </blockquote>
  
  <p>Can someone explain to me why it doesn't work please?</p>