removeLeadingSlashes: Remove Leading Slashes of Strings

View source: R/removeLeadingSlashes.R

removeLeadingSlashesR Documentation

Remove Leading Slashes of Strings

Description

Remove Leading Slashes of Strings

Usage

removeLeadingSlashes(x)

Arguments

x

vector of character

Value

modified version of x with all leading slashes in all elements of x removed

Examples

removeLeadingSlashes(c("a", "/b", "//c"))

KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.