[][src]Function hexchat::strip_colors_in_place

pub fn strip_colors_in_place(string: &mut String) -> Result<(), ()>

Strips color characters from a string and puts the result back into the string. Returns Ok if it succeeded or Err if the color characters are malformed.