Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 15751, WCMatcher

by Richard Byrne Email: Anonymous


A class to compare two strings using DOS wildcard characters (? and *).
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 3.5  to 4.0 244 downloads
Copyright: No significant restrictions


Size: 8,573 bytes
Updated on Sun, 18 Mar 2001 20:03:52 GMT
Originally uploaded on Sun, 18 Mar 2001 20:02:40 GMT
SHA1 Hash: 436AE36F46B9CE10C22409FE42BD9B74647CCFFE
MD5 Hash: 101BC10CB91C196B6E44BAB256302665

    Explore the files in this upload

Description
The WCMatcher class contains a single static method that can be used to compare two strings using DOS wildcard characters (? and *) with behavior comparable to how such "matches" are evaluated by MS-DOS.

Useful for FilenameFilter accept() methods and other things.
See WCMatcher.java for details.

A test program is included to experiment with various string matches.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03