reports (version 0.1.4)

US: Insert Underscores in Path

Description

A convenience wrapper to replace black spaces with underscores.

Usage

US(text = "clipboard", copy2clip = TRUE)

Arguments

text
character vector or text copied to the clipboard. Default is to read from the clipboard.
copy2clip
logical. If TRUE attempts to copy the output to the clipboard.

Value

Returns a character vector every space replaced with an underscore.

Warning

Ligatures are assumed to be "fi", however, these elements may be "ff", "fi", "fl", "ffi" or "ffl".

Examples

Run this code
US("bad path with spaces")

Run the code above in your browser using DataLab