strip_style: Remove ANSI escape sequences from a string

View source: R/has_ansi.R

strip_styleR Documentation

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 documentation built on June 22, 2024, 9:39 a.m.