ReplaceRepeatedUnderscores: ReplaceRepeatedUnderscores

View source: R/Stringendo.R

ReplaceRepeatedUnderscoresR Documentation

ReplaceRepeatedUnderscores

Description

ReplaceRepeatedUnderscores replaces multiple consecutive slashes with a single slash.

Usage

ReplaceRepeatedUnderscores(string)

Arguments

string

The string (file path) potentially having repeated slashes.

Value

A string with repeated slashes replaced by a single slash.

Examples

ReplaceRepeatedUnderscores(string = "path//to//folder")

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