title: How do I split a multi-line string into multiple lines?
body: <p>I have a multi-line string that I want to do an operation on each line, like so:</p>
  <pre><code>inputString = &quot;&quot;&quot;Line 1
  Line 2
  Line 3&quot;&quot;&quot;
  </code></pre>
  <p>I want to iterate on each line:</p>
  <pre><code>for line in inputString:
      doStuff()
  </code></pre>