Skip to contents

Remove ANSI escape sequences from a string

Usage

strip_style(string)

Arguments

string

The input string.

Value

The cleaned up string.

Examples

strip_style(red("foobar")) == "foobar"
#> [1] TRUE