Leitia Adept
Joined: 04 May 2007 Posts: 292 Location: Boston
|
Posted: Fri Mar 27, 2009 11:10 pm |
#loop %numitems(@stringlist),1 {#sh check %item(@stringlist,%i)}
EDIT
I guess you meant put inside not check. This is for lists with duplicates, use #ADDI more simply to remove dupes but as you already have the list I did this.
#loop %numitems(@stringlist),1 {#var newlist %additem( %item( @stringlist, %i), @newlist)} |
|