3 releases (breaking)
0.3.0 | Mar 30, 2024 |
---|---|
0.2.0 | Mar 27, 2024 |
0.1.0 | Mar 21, 2024 |
#4 in #multi-byte
3KB
string_py
This crate aims to make the String type as easy to use as the str type in python. This crate is for multibyte String type such as Japanese.
example
let easy_string = EasyString::new("あいうえお");
let slice_data = easy_string.slice(0, -1);
assert_eq!("あいうえ",slice_data);
assert_eq!(5,easy_string.len());