This repository has been archived on 2026-07-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
CallerIdClient/WebCallerID/Scrapbook.jpage
T
2012-07-30 18:00:46 +02:00

14 lines
1.4 KiB
Plaintext

String s = "var in_call_list = new Array(new Array(\"19.07.2012 14:31:07\",\"01707118717\",\"\",\"00:00:00\"), new Array(\"18.07.2012 20:18:21\",\"0891247111672\",\"\",\"00:00:00\"), new Array(\"18.07.2012 17:54:26\",\"0891247111672\",\"\",\"00:00:00\"), new Array(\"18.07.2012 16:14:55\",\"03060926337\",\"1\",\"00:20:55\"), new Array(\"18.07.2012 15:32:18\",\"030835384891\",\"1\",\"00:02:31\"), new Array(\"18.07.2012 15:09:16\",\"03060926337\",\"1\",\"00:13:26\"), new Array(\"17.07.2012 15:55:23\",\"030468194451\",\"1\",\"00:00:40\"), new Array(\"17.07.2012 12:13:04\",\"016097941642\",\"\",\"00:00:00\"), new Array(\"17.07.2012 11:00:57\",\"02143056256\",\"1\",\"00:02:07\"), new Array(\"16.07.2012 20:16:42\",\"03053142218\",\"1\",\"00:01:09\"), new Array(\"16.07.2012 13:02:37\",\" \",\"\",\"00:00:00\"), new Array(\"16.07.2012 09:40:42\",\"03091701406\",\"1\",\"00:00:22\"));";
String t = s.substring(39);
String[] result = t.split("new Array\\(");
for (int x=0; x<result.length; x++) {
System.out.println(result[x]);
System.out.println(result[x].substring(7,11));
System.out.println(result[x].substring(result[x].lastIndexOf('"') - 8, result[x].lastIndexOf('"')));
System.out.println(result[x].substring(1));
System.out.println(result[x].substring(23));
System.out.println(result[x].substring(23, result[x].indexOf('"', 23)));
System.out.println();
}