我有一个字符串: String test = "This is a test string of many words and more"; 此外,我还有一个需要交换的独特单词列表: List<String> words = Arrays.asList("is", "test", "words", "more"); 该列表包含按正确顺序从原始字符串中提取的<e
我有一组字符串,我想要循环通过,它们都是不同的,但可以使用相同的关键字来分解。这将提取子字符串,这些子字符串都是从相同的单词开始和停止的,但是它们中有不同的值。取以下字符串:
res = "But also the leap into electronic typesetting, remaining essentially uncha