split_truthy_custom_option_str

Function split_truthy_custom_option_str 

Source
pub fn split_truthy_custom_option_str(
    custom_str: &str,
    case_sensitive: bool,
    starts_with: bool,
) -> Vec<TruthyOption>
Expand description

convert a custom string setting into a full TruthyOptiuon e.g. truthy|ok,good|failed,bad will be translated into two true options (ok or good) and two false options (failed and bad) case_sensitive and starts_with are applied globally