XML Script logo
Listing files which match a pattern
Code
<_system command="# \.dataDir 't_createDir1.' \.extension #" /><_dir path="40_TEST" />
Starting with the letter 't'
# join( dir\file{ substr(.name,1,1) == "t"}.name, "\n" ) #
<_system command="# \.dataDir 't_createDir2.' \.extension #" />
Output
Starting with the letter 't'
test3.txt
test4.txt
test6.xml
test7.xml
Ref

x.4003

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited