Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

strip_style

Remove ANSI escape sequences from a string


Description

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"

crayon

Colored Terminal Output

v1.4.1
MIT + file LICENSE
Authors
Gábor Csárdi [aut, cre], Brodie Gaslam [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.