Fill an array based on an imported txt in file sharepoint
Posted on 2014-12-11
I have a text file with a lot of different information in it.
I want to import service tags (out of an invoice which I converted to txt).
now 2 thinks I know for sure:
1) the servicetags are after "Tag nrs" and before "PS: Wanneer u"
Tag nrs: FFRH642 9KRH642 7GRH642 CGRH642 1HRH642
OS: Wanneer u
2) a servicetag is always 7 chars long.
In the array I need to keep the formatting.
So what is on a separate line needs to stay on a separate line..
I have no idea where to start (due to the multiple lines).