mozilla/rust — pull request #1754 by killerswan (2012-02-04 09:57:08+00:00)
Title: str::split renaming and str::split_str harmonization

Another batch of renaming:
- Renamed str::split -> str::unsafe::split_bytes
- Renamed str::splitn -> str::unsafe::splitn_bytes
- Renamed str::split_func -> str::split
- Renamed str::split_char -> str::split_chars

And a tweak which had been discussed a while ago on IRC:
- Fixed the behavior of str::split_str, so that it matches split_chars and split (i.e. `["", "XXX", "YYY", ""] == split_str(".XXX.YYY.", ".")`)