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()
}

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

--- 
+++ 
@@ -1,15 +1,6 @@
-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()
-}
util: Add new util method to treat FlagType vector
