Please enable JavaScript to view this site.

Altova FlowForce Server 2020 Advanced Edition

Extracts the file name (without extension) from a path.

 

Signature

filename(path:string) -> string

 

Parameters

Name

Type

Description

path

string

Specifies the path to a file.

 

Examples

The following expression returns "file":

 

filename("c:\temp\file.txt")

© 2019 Altova GmbH