[][src]Function hexchat::strip_colors

pub fn strip_colors(string: &str) -> Result<String, ()>

Strips color characters from a string.

Returns the stripped string, or Err if the color characters are malformed.