strip_trailing_slash: Strip Trailing Slash Off Of Path If There Is One

strip_trailing_slashR Documentation

Strip Trailing Slash Off Of Path If There Is One

Description

Tzar puts a slash on the end of the output path and this causes problems when using it to build full paths to file names. This function is primarily here to strip that off but can be used on any path.

Usage

strip_trailing_slash(path)

Arguments

path

character string containing a path that may or may not end in a slash

Value

character string containing original path argument with trailing slash removed if there was one, otherwise, same as original


langfob/bdpg documentation built on Dec. 8, 2022, 5:33 a.m.