grapheme-picker

Crates.iographeme-picker
lib.rsgrapheme-picker
version0.1.0
sourcesrc
created_at2021-01-17 22:20:34.939819
updated_at2021-01-17 22:20:34.939819
descriptionHelps to pick part of words
homepage
repositoryhttps://github.com/ltruchot/rust_french-packages
max_upload_size
id343296
size5,958
Loïc TRUCHOT (ltruchot)

documentation

README

Grapheme Picker

A Rust library to help users to get parts of words.

[dependencies]
grapheme-picker = "0.1.0"
use grapheme_picker::{take_last, take_lasts, drop_last, drop_lasts};
assert_eq!(take_last("tests"), "s");
assert_eq!(take_lasts("tests", 3), "sts");
assert_eq!(drop_last("tests"), "test");
assert_eq!(drop_lasts("tests", 3), "te");
Commit count: 0

cargo fmt