有一个String text
System.out.println(text);看起来像这样
So the traveller sat down by the side of that old man,
face to face with the serene sunset;
and all his friends came softly back and stood around him.
其他String subText
System.out.println(subText);只是上面字符串的一部分,看起来像这样
So the traveller sat down by the side of that old man,
face to face with the serene sunset;
我需要摆脱这subText部分text = text.replaceAll(subtext, "");,但这对文本没有任何作用?