Notifications
Clear all
[Closed] how to remove duplicate element from string array
Feb 26, 2013 5:51 pm
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
Feb 26, 2013 5:51 pm
makeUniqueArray #("aa","bb","bb","cc","bb","aa","bb","bb","cc")
You’re welcome.