I am building a translation and need help with using a string length function within a if statement. I would like to look at PV1-44 on the input side and see if I get the date/time as YYYYMMDD or YYYYMMDDHHSS. If it comes back as YYYYMMDD I would like to concatenate 0000 so that I have YYYYMMDD0000 on the output side. Otherwise I would like to copy YYYYMMDDHHSS to the output side.
Thank you