title: Getting rid of Carriage return and new line in a string
body: <p>I have a string of the form </p>
  
  <pre><code>b'helloworld\r\n'
  </code></pre>
  
  <p>I would like to strip it of the \r\n and the the starting b. I tried using .rstrip("\n") but it crashes the system.</p>