title: Make String into only 1 line
body: <p>I have an output that is basically a paragraph and when I try to search the string for a substring, if that substring is split up it doesnt' work. How can I make the paragraph string into just 1 line?</p>
  
  <p>Example string:</p>
  
  <pre><code>I have an output that is basically a paragraph and when I try 
  to search the string for a substring, if that substring is split up it 
  doesn't work. How can I make the paragraph string into just 1 line?
  </code></pre>
  
  <p>substring: "it doesn't work"</p>
  
  <p>When I try to search for that substring, it doesn't return true.</p>