title: Split text needs space to give me an empty item?
body: <p>Do I really need space to get three elements after split? Or could someone explain why is that so? <em>(note: code in ruby, not sure how it is in different languages)</em></p>
  
  <pre><code>test1="2011112512215| | "
  test2="2011112512215||"
  
  puts test1.split("|").length    # =3
  puts test2.split("|").length    # =1
  </code></pre>