[−][src]Trait odds::string::StrExt
Extra methods for str
Required methods
fn rep(&self, n: usize) -> String
Deprecated:
Use str::repeat instead
Repeat the string n
times.
Requires feature="std"
fn append(&self, s: &str) -> String
Requires feature="std"
fn prefixes(&self) -> Prefixes
All non-empty prefixes
fn suffixes(&self) -> Suffixes
All non-empty suffixes
fn substrings(&self) -> Substrings
Produce all non-empty substrings