Skip to main content
Open

Add a transformer like the AttributeSplitter that allows attributes to be split

Related products:Transformers
  • December 1, 2015
  • 0 replies
  • 51 views

erik_jan
Contributor
Forum|alt.badge.img+26

***Note from Migration:***

Original Title was: Add a transformer like the AttributeSplitter that allows attributes to be split based on a delimeter or on a start and end index into multiple new attributes.


Example:

Input attribute TEST value 1,2,3,4

Split based on delimiter: ,

Output attributes TEST1, TEST2, TEST3, TEST4

Example2:

Input attribute TEST value 1,2,3,4

Split based on index:

start 0 end 2, new attribute TEST1 value 1,2

start 3 end 6, new attribute TEST2 value ,3,4

This can be done, but requires multiple transformers insequence.