android 删除字符串中的指定字符

将“你好”删除:

String str = "你好,小明";

str.replace("你好","");

猜你喜欢

转载自blog.csdn.net/wuqingsen1/article/details/80649760