这是我的问题
我有这个字符串,我从网络服务中获得价值.....
"2000-07-01 14:29:12","2020-07-01 14:29:12","物业检查","maryam.com","Bakar","Maryam","915ae8fa7cdb44b3-1368080159272 ","05/21/2013 07:28:59","05/09/2013 06:15:59","物业检查","2","","","",""," ","","","","","","","","","","","","","","","","", "","05/09/2013","","","","","","05/09/2013","","假","假","假","错误的”,””,””,””,””,””,"","","","","","假","","","假","","","","","","","", "","","","","","","","","","","05/09/2013","","","","", "","","","","","","05/09/2013","","1.5678106,103.6354891","","",""","","","","","","","","05/09/2013","","","","","",""," ","","","","05/09/2013","","1.5678106,103.6354891","","",""","","","","","","","","05/09/2013","","","","","",""," ","","","","05/09/2013","","1.5678106,103.6354891","","",""
目前我设法使用拆分所有数据
StringTokenizer stringtokenizer = new StringTokenizer(gabung[rline], ",");
但我不希望字符串值从第一个字符串开始直到第 12 个字符串
> "2000-07-01 14:29:12","2020-07-01 14:29:12",,"Property
> Inspection","maryam.com","Bakar","Maryam","915ae8fa7cdb44b3-1368080159272","05/21/2013
> 07:28:59","05/09/2013 06:15:59","Property Inspection","2",
但我想要第 12 个字符串之后的 next 值..
我所做的是使用字符串拆分和拆分使用','和一个计数器..来计算它是否是第12个字符串
而是使用计数器..你们有更好的解决方案吗?我不太了解正则表达式。