Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wildcards
Message
From
05/02/1999 20:44:25
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00184614
Message ID:
00184616
Views:
18
Is it always the filename portion that you are wildcarding?
cStr = '*' + SUBSTR( cFileName, at('.', cFileName ) )
IF ATC( cStr, cWildCardStr ) > 0 
  *!* then it's there
ELSE
  *!* then it's not
ENDIF

>Need a way to determine if a filename is a member of a set of wildcards
>
>ie
>sample.dbf is a member of "*.dbf,*.cdx"
>sample.old is not a member of "*.dbf,*.cdx"
>
>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform