Forum Discussion
2 Replies
Sort By
- sastoweSuper ContributorPipe separated text file means that there is one line (up to a carriage return line feed)? Take a look at the aqFile object. It has an OpenTextFile method. You can open the file, read the line and then
asSomeVar = Split(sWhateverYouReadIn, "|")
iNum = UBound(asSomeVar) - anna_vStaff
Hi,
I think, the aqFile and aqString objects will be useful for your task. You can get a string containing a text from the text file using the aqFile.ReadWholeTextFile method, then specify the pipe separator using the aqString.ListSeparator property and get a number of records separated by the pipe using aqString.GetListLength.
Please refer to help system for the full description of these properties and methods. I hope this information helps.
Ann
Related Content
- 7 years agojasmeenkaur27
- 7 months agoḼari
- 2 years agoDesktopapptesti
Recent Discussions
- 8 hours agosimonaferrara
- 17 hours agoSubhraDas
- 2 days agotramuntana