diff options
| author | Kevin Cantu <me@kevincantu.org> | 2012-02-01 20:31:01 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-07 16:25:35 -0800 |
| commit | a3f5626ad1b5bc47ceddfb0d600cf6fd8a6dad8c (patch) | |
| tree | 9615505c4b94fd5e84128a40b21d5917e91a75bb /src/rt/rust_kernel.cpp | |
| parent | 159aebc28bdd3e7667cb269d64dee844699dc3b0 (diff) | |
| download | rust-a3f5626ad1b5bc47ceddfb0d600cf6fd8a6dad8c.tar.gz rust-a3f5626ad1b5bc47ceddfb0d600cf6fd8a6dad8c.zip | |
String split renaming:
* Renamed str::split -> str::split_byte
* Renamed str::splitn -> str::splitn_byte
* Renamed str::split_func -> str::split
* Renamed str::split_char -> str::split_char
* Renamed str::split_chars_iter -> str::split_char_iter
* Added u8::is_ascii
* Fixed the behavior of str::split_str, so that it matches split_chars
and split (i.e. ["", "XXX", "YYY", ""] == split_str(".XXX.YYY.", "."))
* Fixed str::split_byte and str::splitn_byte so that they handle
splitting UTF-8 strings on a given UTF-8/ASCII byte and also handle ""
as the others do
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
