add.slash {DOQTL} | R Documentation |
If the argument does not end with a forward slash, add one.
add.slash(path)
path |
Character string containing a file path. |
Returns a character string with a forward slash added to the end, if the argument did not end with a forward slash already.
Daniel Gatti
add.slash("/dir")