powered by
This function removes ANSI color codes from a given text string.
remove_color_codes(s)
A text string with ANSI color codes removed.
The text string containing ANSI color codes.
colored_text <- make_colored("Hello, world!", "blue") remove_color_codes(colored_text)
Run the code above in your browser using DataLab