Java的String.split()方法在以‘.‘分割字符串的时候,需要加上转义字符

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

猜你喜欢

转载自blog.csdn.net/beautifull001/article/details/126868646