Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
context.counter=0;
output_row.line = input_row.line;
context.counter=input_row.line.split("~").length;
context.counter=0;
output_row.line = input_row.line;
context.counter=input_row.line.split("~").length;
Hello!
My question it's pretty similar. I need to create some flow to allow pass only the lines who have "x" number of delimiters, in this case "|".
It's possible to have any advice? I have tried with the pretty much the same components but I'm not able to find the right function in the tFilter.
My flow is :
tFileInputFullRow---main--tFilter--main---tFileOutputDelimited.
Thanks in advance.