strip_style: Remove ANSI escape sequences from a string

Description Usage Arguments Value Examples

View source: R/has_ansi.r

Description

Remove ANSI escape sequences from a string

Usage

1
strip_style(string)

Arguments

string

The input string.

Value

The cleaned up string.

Examples

1
strip_style(red("foobar")) == "foobar"

crayon documentation built on Feb. 9, 2021, 1:06 a.m.