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