Remove duplicate values from an array in powerbuilder

0

I have the following array:

array = {'1', '2', '1', '3'}

And I need to remove the duplicates, in this case the duplicate is '1', and it should look like this:

array = {'1', '2', '3'}

Script:

int i string array[] array = {'1', '2', '1', '3'} for i = 1 to upperbound(array) // array[i] next

    
asked by omelgarejo 31.10.2018 в 20:09
source

0 answers