>Bigstring = 'cattttccv' >NonDupeString = NonDupe(BigString) > >* Result = 'catv' >The simplest way would be to loop through the big string and check if the current character is already in the result. If not, add it.
lpara tcBig c="" for i=1 to len(tcBig) ch=subs(tcbig, i, 1) if not ch$c c=c+ch endif endfor return c