add.slash: Add a forward slash to a character string.

Description Usage Arguments Value Author(s) Examples

View source: R/add.slash.R

Description

If the argument does not end with a forward slash, add one.

Usage

1
  add.slash(path)

Arguments

path

Character string containing a file path.

Value

Returns a character string with a forward slash added to the end, if the argument did not end with a forward slash already.

Author(s)

Daniel Gatti

Examples

1
  add.slash("/dir")

DOQTL documentation built on Nov. 17, 2017, 11:13 a.m.