delphi中怎么比较txt文件中的某同一位置的值是否相同? 20
099990000011,03000002,388.064,S,2015-04-1417:10:10099990000011,03001002,33.480,S,2015...
099990000011,03000002,388.064,S,2015-04-14 17:10:10
099990000011,03001002,33.480,S,2015-04-14 17:10:10
099990000011,03002002,182.523,S,2015-04-14 17:10:10
099990000011,03003002,105.211,S,2015-04-14 17:10:10
099990000011,03004002,3.137,S,2015-04-14 17:10:10
099990000011,03550302W|600,,S,2015-04-14 17:10:10
099990000011,03550202W|400,,S,2015-04-14 17:10:10
099990000011,03550502W|100,,S,2015-04-14 17:11:11
这是txt文件的内容,我循环取每行数据,把每行数据当做数据,以逗号都分隔符。怎么去判断每行第一位置的值(就是099990000011)是否相同?还有怎么将每行最后面的日期时间在数据库中显示出来?急!!! 展开
099990000011,03001002,33.480,S,2015-04-14 17:10:10
099990000011,03002002,182.523,S,2015-04-14 17:10:10
099990000011,03003002,105.211,S,2015-04-14 17:10:10
099990000011,03004002,3.137,S,2015-04-14 17:10:10
099990000011,03550302W|600,,S,2015-04-14 17:10:10
099990000011,03550202W|400,,S,2015-04-14 17:10:10
099990000011,03550502W|100,,S,2015-04-14 17:11:11
这是txt文件的内容,我循环取每行数据,把每行数据当做数据,以逗号都分隔符。怎么去判断每行第一位置的值(就是099990000011)是否相同?还有怎么将每行最后面的日期时间在数据库中显示出来?急!!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询