我想知道在字符串中逗号之前删除字符的最佳方法是什么,以及删除逗号本身,只留下字符串中逗号之后的字符,如果字符串表示为'city,country ".
提前致谢
java string
java ×1
string ×1