最短的代碼將是: $str = implode(',',array_unique(explode(',', $str)));. 如果它是最快的...我不知道,這是可能更快,然後明確地循環。 ... 與處理: $string = 'one,two, ...
確定! 回上一頁