FME Transformers: 2024.2

Categories
Strings

FilenamePartExtractor

Extracts specified parts of a filename path and returns the results as string attributes.

Example

For example, the path

C:\WINNT\Profiles\user\Desktop\roads.shp

would be extracted as follows:

Folder Path

C:\WINNT\Profiles\user\Desktop\

Full Filename

roads.shp

Filename Root

roads

Filename Extension

shp

Folder Name

Desktop

Usage Notes

When parsing the path, both backslashes and forward slashes are handled as separators, regardless of operating system.

Configuration

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

FME Community

The FME Community has a wealth of FME knowledge with over 20,000 active members worldwide. Get help with FME, share knowledge, and connect with users globally.

Search for all results about the FilenamePartExtractor on the FME Community.