remove_string_elements: Removes string elements

Description Usage Arguments Value Examples

View source: R/SMP-framework-sub-functions.R

Description

Removes chosen string element or pattern from a list of file names.

Usage

1

Arguments

file_names

A character string which represents a file name.

pattern_to_remove

A character string that the user wants removed.

Value

A character string with chosen elements removed.

Examples

1
my_string <- remove_string_elements(file_names = "participant_one.csv", pattern_to_remove = ".csv")

Ryan-Colin-White/smp-framework-in-r documentation built on Dec. 18, 2021, 11:55 a.m.