FILE_MINUS_EXT

Returns the file name with its extension removed.

Format

FILE_MINUS_EXT (file_name)

Argument

 
file_name
Character string containing the file name with or without a directory specification.

Examples

The following example illustrates the use of the FILE_MINUS_EXT function:
var set var=.file_no_ext string_value=
(eval (FILE_MINUS_EXT ("my_file.dat")))
returns "my_file"