[−][src]Function hexchat::strip_attributes
pub fn strip_attributes(string: &str) -> Result<String, ()>
Strips non-color formatting characters from a string. Returns the stripped string, or Err
if the formatting characters are malformed.