Skip to main content
Archived

FilePathNameCombiner

Related products:FME Form
  • January 6, 2017
  • 0 replies
  • 7 views

jdh
Contributor
Forum|alt.badge.img+40

It would be nice if there was a native fme transformer to intelligently join file path components, similar to python's os.path.join.

ie concatenate all the parts with exactly one directory separator ( or /) unless already included in the part, ignore empty parts except the last.

So something like
attr1: d:
attr2: dir1
attr3: dir2
attr4: dir3dir4
attr5: {missing}
attr6: file.ext

would become d:dir1dir2dir3dir4file.ext

Even better if it could work with either a series of attributes or a list

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.