changeSlash: Substitute slashes by double backslashes

Description Usage Arguments Value Author(s) See Also Examples

View source: R/functions.r

Description

Substitute slashes by double backslashes in a character string.

Usage

1

Arguments

x

character string

Value

charater string with double backslashes instead of slashes

Author(s)

Simon Frey

See Also

See addSlash for adding a trailing slash and removeSlash for removing a trailing slash from a character string.

Examples

1
2
changeSlash("C:/Temp")
changeSlash("C:/firstlevel/secondlevel")

freysimon/TigR documentation built on March 4, 2020, 9:01 a.m.