Please enable JavaScript to view this site.

Altova MapForce 2021 Basic Edition

Replaces the extension of the file path supplied by the filepath parameter with the one supplied by the connection to the extension parameter.

mf-func-replace-fileext

 

Languages

Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0.

 

Parameters

Argument

Description

filepath

Mandatory argument. Supplies the file path to be processed.

extension

Mandatory argument. Supplies the new extension to use.

 

Example

If you supply "c:\data\Sample.log" as filepath, and ".txt" as extension, the result is c:\data\Sample.txt.

© 2020 Altova GmbH