FME Transformers: 2024.1

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 is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

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