removeForbiddenLetters: removeForbiddenLetters

View source: R/utils.R

removeForbiddenLettersR Documentation

removeForbiddenLetters

Description

Trim path and extension of a file

Usage

removeForbiddenLetters(
  text,
  forbiddenLetters = "[[:punct:][:blank:]]",
  replacement = "_"
)

Arguments

text

character string to be evaluated

forbiddenLetters

characters to be removed if in the text. Default value of forbiddenLetters is "[[:punct:]]" meaning that all punctuation characters are forbidden.

replacement

character replacing the forbiddenLetters. Default value of forbiddenLetters is "_".

Value

text character string with forbidden letters replaced

Examples

## Not run: 
removeForbiddenLetters(text)

## End(Not run)

Open-Systems-Pharmacology/OSPSuite.ReportingEngine documentation built on May 1, 2024, 12:27 p.m.