I am new to Mulesoft. I have one flatfile-
RHR001NTT PQR 2018090920180505
STR0010057830DFLT 74253J461000490
STR0020000000000000000000000000000000
I want to iterate each line and then I want to take each row to get substring from one position to another position. E.g. in row one I want substring from 6th column to 12th column.
I am trying new things to do it. I have separated each line using splitter component with
#[StringUtils.split(message.payload, '\n\r')]
and now I want to take substring from each line from one position to another position.
I have no idea what should I do now? Is there any other way? I have heard about For-Each component.I don't have any experience or idea about For-Each and Splitter components.
Please help me out. Thanks in advcance!