[][src]Function hexchat::strip_formatting_in_place

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

Strips all formatting characters from a string and puts the result back into the string.

Returns Ok if it succeeded or Err if the formatting characters are malformed