Click here to Skip to main content
11,572,828 members (65,342 online)
Click here to Skip to main content

Use wildcard characters * and ? to compare strings

, 7 Feb 2010 CPOL 31.8K 7
Method to compare Strings with wildcard characters:public Boolean MatchTransitionName(String pattern, String input){ if (String.Compare(pattern, input) == 0) { return true; } else if(String.IsNullOrEmpty(input)) { if...
This is an old version of the currently published tip/trick.

This article is still being written and is not currently available for general viewing.

Please go to the String handling Table of Contents to view the list of available articles in this section.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150624.2 | Last Updated 8 Feb 2010
Article Copyright 2010 by PrzemekBenz
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid