Remove duplicate words
string:remove_duplicate_words(STRING $string) : STRING
string:remove_duplicate_words("hi hi bye")
#=> "hi bye"
string:remove_duplicate_words('')
#=> ""
string:remove_duplicate_words('wow,nice,nice')
#=> "wow,nice"
Copyright ©2013-2022 SunSed®. All rights reserved.