remove duplicates from comma separated string

前端 未结 5 1772
有刺的猬
有刺的猬 2021-01-13 07:06

Is there a better (faster) solution to remove duplicates from a comma separated string?

public function d($dep) { 
    if (strpos($dep,\',\') !== false) {
           


        
5条回答
提交回复
热议问题