title: Cleaning many string variables at once with strip()
body: <p>I'm trying to get rid of two special character combinations from all my variables with strip.
  is there a better way to do this with a loop?</p>
  <pre><code>currentdisk = currentdisk.strip(&quot;└─&quot;)
  currentdisk = currentdisk.strip(&quot;├─&quot;)
  currentmpath = currentmpath.strip(&quot;└─&quot;)
  currentmpath = currentmpath.strip(&quot;├─&quot;)
  currentpartition = currentpartition.strip(&quot;└─&quot;)
  currentpartition = currentpartition.strip(&quot;├─&quot;)
  volumegroup = volumegroup.strip(&quot;└─&quot;)
  volumegroup = volumegroup.strip(&quot;├─&quot;)
  logicalvolume = logicalvolume.strip(&quot;└─&quot;)
  logicalvolume = logicalvolume.strip(&quot;├─&quot;)
  mountpoint = mountpoint.strip(&quot;└─&quot;)
  mountpoint = mountpoint.strip(&quot;├─&quot;)
  </code></pre>