Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wildcard characters
#1
Hey there I have this simple code that I can't put the wildcard charters to work for the life of me.
Can someone please help?

Function teste3
Code:
Copy      Help
,ARRAY(str) a s;
,int i; str data
,data="2013-10-09"
,GetFilesInFolder a F"S:\(...)\TNE\*{data}*" "" 0
,a.sort(1)
,s.create(a.len)
,for i 0 a.len
,,str sPath=a[i]
,,s[i].getfile(sPath)
,,out F"{sPath}[]{s[i]}[]"


The name of the ".txt" files have the date in between other information and I want to get those with only the specific date.

Thanks a buch!


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)