I have two text files with first lines as 12345 and 1234567.
I need to run the script if the line is of length 1234567 only.
Is there any script that gives us the length of first line??
Try to solve it with the len function
if(len(fieldName)=7, run script, otherwise nothing)
This might help
Retrieving data ...