MCPcopy Index your code
hub / github.com/seaswalker/spring-analysis / split

Method split

src/main/java/test/JavaTest.java:58–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 }
57
58 @Test
59 public void split() {
60 String str = "1\t2\taug\tfri\t14.7\t66\t2.7\t0\t0";
61 String[] arr = str.split("\t");
62 System.out.println(Arrays.toString(arr));
63 System.out.println(arr);
64 System.out.println("月份: " + arr[2]);
65 System.out.println("天气: " + arr[4]);
66 }
67
68}

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected