Java's String.split() method needs to add escape characters when splitting a string with '.'

String[] strs = objectKey.split("\\.");

Guess you like

Origin blog.csdn.net/beautifull001/article/details/126868646