ReplaceRepeatedDots: ReplaceRepeatedDots

View source: R/Stringendo.R

ReplaceRepeatedDotsR Documentation

ReplaceRepeatedDots

Description

ReplaceRepeatedDots removes multiple consecutive slashes (e.g. '..') from a string (file path).

Usage

ReplaceRepeatedDots(string)

Arguments

string

The string (file name or path) potentially having multiple dots

Examples

ReplaceRepeatedDots(string = "stairway..to...heaven....") # replace by a single dot.


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