I have a variable that contains the following contents:
SS|D|2222|Warehouse Name|555 Address1|Address2|City|St|55444|US|
I would like to learn how to get the array file content lines and separate each line in two parts, I will use the first line as example:
Get this part of each line (first two characters) >> HH
Then the whole line, including the fist two characters >> HH|N|S00001-L10|CC|RBTW|0
Each line is delimited at the end by a LF or a CR LF
I need to loop through each line and call a function that will eventually do something with these two values.
Is it possible to ask for help an a example if code that can do this work?
Any help or direction to examples would be great.