ansi_strip: Remove ANSI escape sequences from a string

Description Usage Arguments Value See Also Examples

View source: R/ansiex.R

Description

The input may be of class ansi_string class, this is also dropped from the result.

Usage

1
ansi_strip(string)

Arguments

string

The input string.

Value

The cleaned up string.

See Also

Other low level ANSI functions: ansi_has_any(), ansi_hide_cursor(), ansi_regex()

Examples

1
ansi_strip(col_red("foobar")) == "foobar"

RonMobile/cli documentation built on Dec. 18, 2021, 11 a.m.