Page 1 of 1

How to substrig delimited variable length fields

Posted: Tue Jul 24, 2012 12:33 pm
by Marley777
Hi, thanks for reading.

Anyone know how to substring delimited variable length fields.

Want to do this in a transaformer

field1: '-' :field2: '-' :field3 = new field

all 3 fields are variable length. How can I in a down stream job pull just "field1"?


any help is greatly appreciated.

Posted: Tue Jul 24, 2012 1:11 pm
by ankursaxena.2003
You can use field or Index function in Transformer.

Posted: Tue Jul 24, 2012 1:27 pm
by chulett
Don't worry about Index(), the Field() function is there to do exactly what you need.