09-11-2008, 12:12 AM
I'm sure there is a bit better way to do this...but it'll do the the trick here...
Function Function3
Function Function3
out
Dir d
foreach(d "$Desktop$\enum\*.*" FE_Dir)
,str sPath=d.FileName(1)
,_s.format("%s%s[91][93]" _s sPath)
out _s
;remove the last []
strrev _s
_s.remove(0 2)
strrev _s
out _s
_s=""
foreach(d "$Desktop$\enum\*.*" FE_Dir)
,sPath=d.FileName(1)
,_s.format("%s%s[]" _s sPath)
;remove the last []
strrev _s
_s.remove(0 2)
strrev _s
out _s