I have this complex data (FileA) and I want to split its each row into separate columns referring the Reference file.
In Reference file its given- Filed name and the length
For ex- If first row is -- FS020101XWARPLCFRPT000
And Reference file's first row has- Field name= Tradetype and Length= 1 and second row- Field name= Side and Length= 2
Then my output will have:

How can this be solved in alteryx?