[−][src]Crate ellipse
Truncate and ellipse strings in a human-friendly way.
Uses unicode extended grapheme clusters.
Example
use ellipse::Ellipse; let input = "🇩🇪🇬🇧🇮🇹🇫🇷"; assert_eq!(&input.truncate_ellipse(2), "🇩🇪🇬🇧...");
Traits
Ellipse | Truncate and ellipse strings in a human-friendly way. |