{"action":"closed","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/1070","labels_url":"https://api.github.com/repos/manastech/crystal/issues/1070/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/1070/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/1070/events","html_url":"https://github.com/manastech/crystal/issues/1070","id":98528043,"number":1070,"title":"Some String#split inconsistencies (vs ruby)","user":{"login":"dbackeus","id":3461,"avatar_url":"https://avatars.githubusercontent.com/u/3461?v=3","gravatar_id":"","url":"https://api.github.com/users/dbackeus","html_url":"https://github.com/dbackeus","followers_url":"https://api.github.com/users/dbackeus/followers","following_url":"https://api.github.com/users/dbackeus/following{/other_user}","gists_url":"https://api.github.com/users/dbackeus/gists{/gist_id}","starred_url":"https://api.github.com/users/dbackeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbackeus/subscriptions","organizations_url":"https://api.github.com/users/dbackeus/orgs","repos_url":"https://api.github.com/users/dbackeus/repos","events_url":"https://api.github.com/users/dbackeus/events{/privacy}","received_events_url":"https://api.github.com/users/dbackeus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/manastech/crystal/labels/draft","name":"draft","color":"00B8B8"},{"url":"https://api.github.com/repos/manastech/crystal/labels/RFC","name":"RFC","color":"009800"},{"url":"https://api.github.com/repos/manastech/crystal/labels/standard%20library","name":"standard library","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-08-01T10:44:46Z","updated_at":"2015-12-11T14:02:45Z","closed_at":"2015-12-11T14:02:45Z","body":"In Ruby:\r\n```ruby\r\n\"=\".split(\"=\") => []\r\n\"=\".split(\"=\", 2) => [\"\", \"\"]\r\n```\r\n\r\nIn Crystal\r\n```crystal\r\n\"=\".split(\"=\") => [\"\"]\r\n\"=\".split(\"=\", 2) => [\"\"]\r\n```\r\n\r\nSince the methods are not documented I'm not sure what you're going for here but if you haven't considered this already I guess principle of least surprise would be to stick to the Ruby spec."}}