Ciao,
Voglio estrarre i valori bin dalle righe e archiviarli nell'elenco.
Per esempio-
BIN = "B" 8 "Bad Bump" -> Voglio estrarre la lettera "B" dalla stringa e memorizzarla nell'elenco
BIN = "P" 6153 "PCM" -> Voglio estrarre la lettera "P" dalla stringa e memorizzarla nell'elenco e allo stesso modo per tutte le righe contenenti bin
Ecco cosa ho provato finora. Estrae solo la riga 13
Names Default To Here( 1 );
Clear Globals();
Clear Log();
dt = current data table();
asa = dt << Get Rows Where (Contains(as column(3), "BIN") & Contains(as column(3), "NULL") == 0);
binlist = {};
it = asa[1];
for(k =1, k<= Nitems(asa), k++,
Insertinto(binlist, db_test:Bins[asa])
);
binvaluelist= {};
n = for (i = it, i <= nitems(asa), i++,
newlist = dt:Bins[i];
word_list = words(newlist, "\!"\!"");
insertinto(binvaluelist, word_list);
);