からアイテムを削除するのは、私は、文字列があるとしましょう:カンマ区切りの文字列
cat,mouse,dog,horse
は、次のように動作します正規表現または機能はありますか?
1)"cat" return string ->"mouse,dog,horse"
2)"mouse" return string ->"cat,dog,horse"
3)"dog" return string ->"cat,mouse,horse"
4)"horse" return string ->"cat,mouse,dog"
選択した項目を文字列から削除し、文字列の残りの部分を返す必要があります。
ねえ、ありがとう、たくさんの人!!!! codepad.orgの紹介に感謝します – dinchakpianist