Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 737 Bytes

File metadata and controls

25 lines (15 loc) · 737 Bytes

Get file name with extension

Get file name with extension

Overview

Gets file name with extension from a given file. Given a file path, extracts and returns the full filename including its extension, without any directory components.

Parameters

1. filePath (FILE)

  • Label: File
  • Description: The file path from which to extract the complete file name.
  • Required: Yes
  • Default: None
  • Constraints: None

Output

Returns a STRING containing the complete file name (including extension) extracted from the given file path.

Exceptions

Throws BotCommandException on invalid input or internal failure.