Re_str.{,bounded_}split_delim (which includes empty strings at the beginning and end) is a better replacement for String.split