FilenamePartExtractor
Extracts specified parts of a filename path and returns the results as string attributes.
Parameters
The attribute that holds the full filename and path.
If specified, this attribute will contain the full folder path of the Source Attribute, excluding the Full Filename.
If specified, this attribute will contain the full filename (including extension) of the Source Attribute.
If specified, this attribute will contain the root filename (without extension) of the Source Attribute.
If specified, this attribute will contain the extension of the file specified in the Source Attribute.
If specified, this attribute will contain the folder name of the file specified in the Source Attribute.
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
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.