Function sip2::util::sip_string
source ยท pub fn sip_string(text: &str) -> String
Expand description
Clean up a string for inclusion in a SIP message
use sip2::util;
let result = util::sip_string("howdy|par|dner");
assert_eq!(result, "howdypardner");