我有一个单词的字符串:
$list1= "apple tree dog cat apple horse tree"
我怎么能删除重复的单词?
powershell distinct
distinct ×1
powershell ×1