MS Access:字段分隔符包含多个字符

时间:2017-03-07 08:37:41

标签: ms-access

我使用以下代码导出了一个表:

dat <- data.frame(n = seq(1, 19, by = 1),
des = c("Some. very long text", "Some very; lang test", "Some, vary long text", "Some veri long$ text", "Another very #long text", "Anather very +long text", "Another- very long text", "Different_ text", "Diferent* text", "More { text", "More] test", "Much& more§~ text", "Muh more text", "Some other long text", "Some otoher long text", "Some more text", "Same more text", "New text", "New texd"))

write.table(dat, "path/datex.txt", sep=".;$.", row.names=FALSE, quote=FALSE)

在“des”列中,有各种各样的字符。不能将单个eparation字符用作_ ,;§或任何其他字符。现在我遇到了问题,MS Access不允许多个字符作为字段分隔符。如何导入包含多个字符的txt文件作为字段分隔符?我还不知道VBA,所以这将是一个非常耗时的选择。 感谢。

0 个答案:

没有答案