truncate white space
Truncate a string at a certain length, using the closest whitespace character.
Usage
Add the following to your Cargo.toml
= "1.0.2"
Then
use truncate_text;
Licence
© 2021 Todd Kennedy, Apache-2.0
Truncate a string at a certain length, using the closest whitespace character.
Add the following to your Cargo.toml
= "1.0.2"
Then
use truncate_text;
© 2021 Todd Kennedy, Apache-2.0