gpt4 book ai didi

excel - CSV 行尾

转载 作者:行者123 更新时间:2023-12-03 02:32:23 26 4
gpt4 key购买 nike

嗨,我正在尝试将行尾代码以 CSV 格式放入,以将其导入到 Excel 我尝试放入
\n、“\n”、\r、“\r”、\r\n、“\r\n”但对我没有任何作用我试图将其导入 excel 2013 我的 csv 格式如下

Medicine;1213;22;19\nMedicine (miscellaneous);1013;32;55\nEngineering;708;14;21

请帮忙。字段分隔符工作正常,但如何管理换行符我想像这样输出

Medicine                   | 1213 | 22 | 19   
Medicine (miscellaneous) | 1013 | 32 | 55
Engineering | 708 | 14 |21

感谢您的帮助和建议

最佳答案

在 Notepad++ 中,您可以执行以下查找和替换操作:

查找:

\\n

替换:

\n

一定要在正则表达式模式下执行此操作,而不是常规模式。

关于excel - CSV 行尾,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42666395/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com