Hi, I want to validate postal code of having 6 digit length .How to validate minimum and maximum length of digit. I have used tSchemaComplianceCheck component but it validate only maximum length data. Will you please suggest me how to validate minimum length of data? Thanks in advance.
Hi
You can use tFilterRow to filter the row with customized Java code, for example:
tFileInputDelimited--main--tFitlerow--filter--tLogRow_1
--reject--tLogRow_2
check the 'advanced mode' option, and define its expression as below:
input_row.columnName.length()==6
Shong
Hi, How to trim the unnecessary spaces in the 6 digit lenght from right,left side and also from middle of the lenght. For eg '12 345'->this gives 6 digit lenght but for me its only 5 digit ,so will you please help me out in these. Thank you.
Hi, The trim option which you have suggest is for trimming column.I want to trim the space inbetween digits. for eg input is "123 456" then output will have 123456. Thank you.