Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have two files containing columns names ,I need to validate if the columns are in the same order.
For eg : File1
ID;Name;Address
File2
ID:Address:Name
If these are the input files.I should be able to extract the columns which are in the wrong order.
Use tFileInputFullRow with Limit=1 to get header line from yours input files.
Then use String.equals() or String.equalsIgnoreCase() methods to compare both header lines.
If they don't match, order is not the same or column names are different.
Use tFileInputFullRow with Limit=1 to get header line from yours input files.
Then use String.equals() or String.equalsIgnoreCase() methods to compare both header lines.
If they don't match, order is not the same or column names are different.
I also have a excel source file and tfileinputrow is not reading it properly any other option for reading excels?
I also have a excel source file and tfileinputrow is not reading it properly any other option for reading excels?