1 string str = "you/0are/0sweet/0"; 2 str = str.replace("/0","")); 备忘一下 转载于:https://www.cnblogs.com/faithfu/p/9397265.html