FilenamePartExtractor

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

Parameters

Usage Notes

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

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

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Transformer Categories

Strings

Technical History

Associated FME function or factory: @Filenamepart

Search FME Community

Search for samples and information about this transformer on the FME Community.