Cross browser String#split implementation.