Trait stringr::Stringr[][src]

pub trait Stringr {
    fn remove_chars(&self, chars: HashSet<char>) -> String;
fn remove_whitespace(&self) -> String;
fn splitn(&self, n: usize) -> Vec<String>;
fn splitn_separator(&self, n: usize, separator: &str) -> String;
fn wildcard_match(
        &self,
        pattern: &str,
        wildcard: &char,
        single_wildcard: &char,
        ignore_casing: bool
    ) -> bool; }

Required methods

fn remove_chars(&self, chars: HashSet<char>) -> String[src]

fn remove_whitespace(&self) -> String[src]

fn splitn(&self, n: usize) -> Vec<String>[src]

fn splitn_separator(&self, n: usize, separator: &str) -> String[src]

fn wildcard_match(
    &self,
    pattern: &str,
    wildcard: &char,
    single_wildcard: &char,
    ignore_casing: bool
) -> bool
[src]

Loading content...

Implementations on Foreign Types

impl Stringr for String[src]

impl Stringr for &str[src]

Loading content...

Implementors

Loading content...