Have a text file, there are many rows of data, to data stored separately in a row to a text file named after the bank data, if have the same text content, increasing in value
Such as: text file content is as follows:
HP001
HP002
HP002
HO003
HP002
HP004
HO003
,,,
HP999
Want to generate HP001. TXT (file write HP001), HP002. TXT (file write HP002), HP002_1. TXT (file write HP002_1), HO003. TXT (file write HO003), HP002_2. TXT (file write HP002_2), HP004. TXT (file write HP004), HO003_1. TXT (file write HO003_1)...
How to implement, please?