RemoveWhitespaces: RemoveWhitespaces

View source: R/Stringendo.R

RemoveWhitespacesR Documentation

RemoveWhitespaces

Description

RemoveWhitespaces replaces any nr of white spaces.

Usage

RemoveWhitespaces(string, replacement = "")

Arguments

string

The string (file path) potentially having repeated slashes.

replacement

The string to replace the white spaces with. Default: ”.

Value

A string with repeated slashes replaced by a single slash.

Examples

RemoveWhitespaces(string = "path   To    Folder")

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