I want to remove the duplicate value from the 2D array.
this is sample :
string[10] { string[3] { “ABC”, “5”, “4” }, string[3] { “ABC”, “5”, “4” }, string[3] { “ABC”, “5”, “4” }, string[3] { “ABC”, “5”, “4” }, string[3] { “QWE”, “4”, “3” }, string[3] { “QWE”, “4”, “3” }, string[3] { “QWE”, “4”, “3” }, string[3] { “BNM”, “4”, “3” }, string[3] { “BNM”, “4”, “3” }, string[3] { “BNM”, “4”, “3” } }
result : {{ “ABC”, “5”, “4” }, { “QWE”, “4”, “3” }, { “BNM”, “4”, “3” }}
The variable is array in array
“variable.distinct().toarray” doesn’t work
thanks