RemoveFinalSlash: RemoveFinalSlash

View source: R/Stringendo.R

RemoveFinalSlashR Documentation

RemoveFinalSlash

Description

RemoveFinalSlash removes the final slash(es) from a string (file path).

Usage

RemoveFinalSlash(string)

Arguments

string

The string (file path) potentially having a final slash.

Value

A string with the final slash removed.

Examples

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

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