below string values, need extract value of id, start date end date separatly (\"id\",\"startdate\",\"enddate\")
- (\"1025\",\"01-08-2016\",\"07-08-2016\")
(\"1026\",\"01-08-2016\",\"07-08-2016\")
(\"1027\",\"01-08-2016\",\"07-08-2016\")
(\"1028\",\"01-08-2016\",\"07-08-2016\")
(\"1029\",\"01-08-2016\",\"07-08-2016\")
(\"1030\",\"01-08-2016\",\"07-08-2016\")
(\"1031\",\"01-08-2016\",\"07-08-2016\")
(\"1032\",\"01-08-2016\",\"07-08-2016\")
(\"1033\",\"01-08-2016\",\"07-08-2016\")
(\"1034\",\"01-08-2016\",\"07-08-2016\")
(\"1035\",\"01-08-2016\",\"07-08-2016\")
(\"1036\",\"01-08-2016\",\"07-08-2016\")
(\"1037\",\"01-08-2016\",\"07-08-2016\")
(\"1038\",\"01-08-2016\",\"07-08-2016\")
(\"1039\",\"01-08-2016\",\"07-08-2016\")
(\"1040\",\"01-08-2016\",\"07-08-2016\")
(\"1041\",\"01-08-2016\",\"07-08-2016\")
(\"1042\",\"01-08-2016\",\"07-08-2016\")
(\"1043\",\"01-08-2016\",\"07-08-2016\")
(\"1044\",\"01-08-2016\",\"07-08-2016\")
(\"1045\",\"01-08-2016\",\"07-08-2016\")
(\"1046\",\"01-08-2016\",\"07-08-2016\")
string value = "(\"1025\",\"01-08-2016\",\"07-08-2016\")"; int num = value.substring(value.indexof('(\"'),value.indexof('\"'));
Comments
Post a Comment