Crate trim_matches_exactly[−][src]
Extension trait for controlled trimming of prefixes and suffixes of &str
and String
.
Provided methods trim only if the given pattern matches exact number of times, otherwise
they return the unmodified &str
. This can be used for primitive parsing and text analysis.
Traits
TrimMatchesExactlyExt |
The extension trait adding methods for controlled trimming |