将.csv转换为.txt [VB.NET] [英] Convert .csv to .txt [VB.NET]
本文介绍了将.csv转换为.txt [VB.NET]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我目前正在开展一个项目。我有一个大的.csv文件,我想使用算法将其转换为.txt文件。
如果有人有算法或者链接来帮助我非常感谢!
谢谢!
我的尝试:
我做了几次搜索,我发现很多.csv到xml但没什么关于.csv到.txt
解决方案
简单解决方案:
只需将扩展名替换为.txt。
将MyFile.csv重命名或复制到MyFile.txt即可完成。
或者什么也不做,直接使用csv文件作为文本文件。
Nota:csv文件是文本文件!
< blockquote>作为 ppolymorphe [ ^ ]。
如何:在Visual Basic中移动文件 [ ^ ]
如何:在Visual Basic中重命名文件 [ ^ ]
File.Move方法(字符串,字符串)(System.IO) [ ^ ]
Hi guys,
Im currently working on a project. I have a large .csv file and I would like to convert it to .txt file using an algorithm.
If someone have an algorithm or maybe a link to help me it would be very appreciated!
Thanks!
What I have tried:
I did several search and i found a lot of .csv to xml but nothing to much about .csv to .txt
解决方案
easy Solution:
Just replace the extension to .txt.
Rename or copy MyFile.csv to MyFile.txt and you are done.
Or do nothing and use the csv file as a text file directly.
Nota: a csv file is a text file!
As an addition to the solution1 by ppolymorphe[^].
How to: Move a File in Visual Basic[^]
How to: Rename a File in Visual Basic[^]
File.Move Method (String, String) (System.IO)[^]
这篇关于将.csv转换为.txt [VB.NET]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文