list.string.replacer: Replace every string entry in a list

View source: R/data_transforms.R

list.string.replacerR Documentation

Replace every string entry in a list

Description

Replace every string entry in a list

Usage

list.string.replacer(entry.list, pattern, replacement)

Arguments

entry.list

List containing character entries

pattern

Pattern to replace

replacement

Replacement for entries following the pattern

Value

A list with entries matching the pattern replaced by replacement

Examples

services <- list("\t Some text from the table")
services <- epair:::list.string.replacer(services, "\t", "")
services

GLOrozcoM/epair documentation built on July 28, 2022, 9:01 p.m.