powered by
Remove ANSI escape sequences from a string
strip_style(string)
The cleaned up string.
The input string.
strip_style(red("foobar")) == "foobar"
Run the code above in your browser using DataLab