[][src]Function voca_rs::chop::min

pub fn min(subject: &str) -> String

Returns the min character from the subject by its code point. NOTE: Unicode escape must not be a surrogate

Arguments

Example

use voca_rs::*;
chop::min("rain");
// => "a"
chop::min("cafe\u{0301}"); // or "café"
// => "a"
chop::min("Über das Floß.");
// => " "
use voca_rs::Voca;
"rain"._min_code_point();
// => "a"