FixUnderscores: FixUnderscores

View source: R/Stringendo.R

FixUnderscoresR Documentation

FixUnderscores

Description

FixUnderscores removes multiple consecutive underscores (e.g. '') from a string, and optionally also removes a final ''.

Usage

FixUnderscores(string = "stairway__to_heaven_", trimFinal = TRUE)

Arguments

string

The file path potentially having Double Slash

trimFinal

Remove final undescore?

Examples

FixUnderscores(string = "stairway//to/heaven")

vertesy/Stringendo documentation built on Nov. 10, 2024, 4:35 a.m.