我想合并相似的字符串(單詞)(字符串在其他字符串內(nèi))。 word wor words wormhole hole 將使:wordswormhole 作為wor與重疊:word,words,wormhole-wor將被丟棄;word與...重疊:words-word被丟棄;hole與...重疊:wormhole-hole被丟棄;但是words,wormhole請勿重疊-因此它們會保留。我怎樣才能做到這一點?
添加回答
舉報
0/150
提交
取消