https://wp.jochen.hayek.name/blog-en/2011/09/29/ruby-stringsplit-on-empty-pattern-or-string/
Ruby: String#split on empty pattern or string