如何转换制表符分隔文件,CSV格式? [英] How to convert a tab separated file to CSV format?

查看:1218
本文介绍了如何转换制表符分隔文件,CSV格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这个格式的文本文件:

I have a text file in this format :

{

attribute1 attribute2 attribute3.... attributeN

value"A" value"B" value"C".... value"Z"

/* next line of values*/

}

每个字由制表符分隔。

Each word is separated by a tab.

我如何转换为CSV格式?我试图用Excel,但它给人的兼容性问题。

How do I convert to CSV format? I tried using Excel but it's giving compatibility issues.

推荐答案

导入与Excel(从文本文件数据>负载)中的数据,使用tab作为列分隔符。然后将文件另存为CSV。

Import the data with excel (Data > Load from text file), using tab as a column separator. Then save the file as csv.

它不能有兼容性问题,这是一个基本的任务,我在过去做的相当频繁。

It cannot have compatibility issues, it's a basic task and i did it quite often in the past.

这篇关于如何转换制表符分隔文件,CSV格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆