#[inline]
pub fn split_values_vec(values: Vec<String>) -> String {
    let string = values.into_iter().collect::<Vec<String>>()
        .join(",").to_owned();
    string.clone()
}

use types::flag_type::FlagType;

#[inline]
pub fn split_values_vec(values: Vec<String>) -> String {
    let string = values.into_iter().collect::<Vec<String>>()
        .join(",").to_owned();
    string.clone()
}

#[inline]
pub fn split_flags_vec(values: Vec<FlagType>) -> String {
    let string = values.into_iter().map(|v| v.as_ref().to_string())
        .collect::<Vec<String>>().join("|").to_owned();
    string.clone()
}

Add new util method to treat FlagType vector
util: Add new util method to treat FlagType vector
