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!
#2
Parameter 2 is folder. Parameter 3 is filename with wildcard characters. See also flag 0x20000, if need wildcard characters in folder.
#3
Dear lord ... :? :? :? :?

Sorry about this.

Thanks!
#4
See also flag 0x20000, if need wildcard characters in folder.


Forum Jump:


Users browsing this thread: 1 Guest(s)