title: how to Split and get data in ruby
body: <p>I am newbie in ruby.
  Now, I have problem about text splitting by ruby programming.</p>
  
  <p>My text is like </p>
  
  <pre><code>AA:0.88:320:800|BB:0.82:1040:1330|CC:0.77:1330:1700|DD:0.71:1700:2010|EE:1.00:2070:2390
  </code></pre>
  
  <p>So I need result to   (process until end of text) </p>
  
  <pre><code>AA 0.88
  BB 0.82
  CC 0.77
  DD 0.71
  EE 1.00
  </code></pre>
  
  <p>How to coding it. Now I can only split by "|".</p>
  
  <p>Best regard.</p>