Notifications
Clear all

[Closed] how to remove duplicate element from string array

hi guys,shot question,
how to remove duplicate element from string array , like
thisArray = #()
thisArray = #(“aa”,“bb”,“bb”,“cc”,“bb”,“aa”,“bb”,“bb”,“cc”)
i want to get a new array like newArray = #(“aa”,“bb”,“cc”),
are there any easy way to delete duplicate element from string array?
😮
thanks!

2 Replies

makeUniqueArray #("aa","bb","bb","cc","bb","aa","bb","bb","cc")

You’re welcome.

thanks!!!