Skip to contents

This function removes the trailing underscore and three digits from the base name of a folder.

Usage

truncate_folder_name(folder_name)

Arguments

folder_name

A character string specifying the folder name to truncate.

Value

A character string with the truncated folder name.