title: Split a string between pattern
body: <p>I have a string: </p>
  
  <pre><code>a="\r\nOk\r\n\r\nThanks\r\n"
  
  I want to split string so i will get:
  
  array[0]="Ok"
  array[1]="Thanks"
  </code></pre>
  
  <p>What i've tried:</p>
  
  <pre><code>array=re.split('\r\n',a)
  </code></pre>
  
  <p>Which resulted in a complicated list.</p>
  
  <p>Any ideas?</p>