removetext: Remove text matching a pattern

View source: R/primitives.R

removetextR Documentation

Remove text matching a pattern

Description

Remove text matching a pattern

Usage

removetext(x, pattern, fixed = FALSE)

Arguments

x

An atomic vector.

pattern

A regular expression (or fixed string when fixed = TRUE).

fixed

Use fixed (non-regex) matching instead of regular expressions.

Value

A character vector.


basetable documentation built on Sept. 18, 2026, 9:13 a.m.