G
guguda
Unregistered / Unconfirmed
GUEST, unregistred user!
文本是这样的:
00ads000108@tom,20020615 23:18:42,20020616 01:02:14,00511494264,210.52.232.51,210.53.43.76,6212,0203
7355558
00ads000108@tom,20020617 20:51:00,20020617 21:01:13,00502494736,210.52.232.50,210.53.43.7,613,020373
55558
00ads000113@tom,20020618 22:48:38,20020618 22:49:07,00502495048,210.52.232.50,210.53.43.5,29,0208706
1000
------------------------------------
现在导入后要自动改成:
00ads000108@tom,2002-06-15 23:18:42,20020616 01:02:14,00511494264,210.52.232.51,210.53.43.76,6212,02037355558
00ads000108@tom,2002-06-17 20:51:00,20020617 21:01:13,00502494736,210.52.232.50,210.53.43.7,613,02037355558
00ads000113@tom,2002-06-18 22:48:38,20020618 22:49:07,00502495048,210.52.232.50,210.53.43.5,29,02087061000
也就是说其中的日期年月日之间要加一个"-",每条数据间的记录空行要去掉,后边的数要接到后边不能在第二行。
----------------------------------------
这个程序要怎么写?谁有这方面的程序代码或例子?能给我看看吗?因为急用,请大家帮帮我。谢谢。
00ads000108@tom,20020615 23:18:42,20020616 01:02:14,00511494264,210.52.232.51,210.53.43.76,6212,0203
7355558
00ads000108@tom,20020617 20:51:00,20020617 21:01:13,00502494736,210.52.232.50,210.53.43.7,613,020373
55558
00ads000113@tom,20020618 22:48:38,20020618 22:49:07,00502495048,210.52.232.50,210.53.43.5,29,0208706
1000
------------------------------------
现在导入后要自动改成:
00ads000108@tom,2002-06-15 23:18:42,20020616 01:02:14,00511494264,210.52.232.51,210.53.43.76,6212,02037355558
00ads000108@tom,2002-06-17 20:51:00,20020617 21:01:13,00502494736,210.52.232.50,210.53.43.7,613,02037355558
00ads000113@tom,2002-06-18 22:48:38,20020618 22:49:07,00502495048,210.52.232.50,210.53.43.5,29,02087061000
也就是说其中的日期年月日之间要加一个"-",每条数据间的记录空行要去掉,后边的数要接到后边不能在第二行。
----------------------------------------
这个程序要怎么写?谁有这方面的程序代码或例子?能给我看看吗?因为急用,请大家帮帮我。谢谢。