Altova FlowForce Server 2025 Advanced Edition

Extracts the file extension from a path.

 

 

Signature

extension(path:string) -> string

 

 

Parameters

Name

Type

Description

path

string

Specifies the path to a file.

 

 

Examples

The following expression returns ".txt":

 

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

 

© 2018-2024 Altova GmbH