[][src]Function hexchat::strip_attributes_in_place

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

Strips non-color 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.