I want to split a String with the regex ".", but the result is strange
String position = test.image.png;
String[] split = position.split(".");
System.out.println(position);
System.out.println(split.length);
for(String element : split) System.out.println(element);
WHY the output is:
test.image.png
0
???