title: Why are empty strings returned in split() results?
body: <p>What is the point of <code>'/segment/segment/'.split('/')</code> returning <code>['', 'segment', 'segment', '']</code>?</p>
  
  <p>Notice the empty elements. If you're splitting on a delimiter that happens to be at position one and at the very end of a string, what extra value does it give you to have the empty string returned from each end?</p>