remove_color_codes {plotcli} | R Documentation |
Remove color codes from a string
Description
This function removes ANSI color codes from a given text string.
Usage
remove_color_codes(s)
Arguments
s |
The text string containing ANSI color codes. |
Value
A text string with ANSI color codes removed.
Examples
colored_text <- make_colored("Hello, world!", "blue")
remove_color_codes(colored_text)
[Package plotcli version 0.1.0 Index]