Wild Cards * and ? may be used - what does this mean?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Chris Hadden
Commander (CMDR)
Commander (CMDR)
Posts: 182
Joined: Tue Jan 27, 2009 2:29 pm

Wild Cards * and ? may be used - what does this mean?

Post by Chris Hadden » Mon Oct 31, 2011 9:43 am

Under advanced search it says " Wild Cards * and ? may be used" How are those used? what does it mean?

Thanks
Chris

User avatar
david-ebt
Captain (CAPT)
Captain (CAPT)
Posts: 253
Joined: Fri Dec 31, 2010 10:12 am

Re: Wild Cards * and ? may be used - what does this mean?

Post by david-ebt » Mon Oct 31, 2011 2:12 pm

The * means match one or more characters and the ? means match 1 character.

Take a look at this web page http://www.techonthenet.com/sql/like.php. The % is the same as the * and the _ is the same as the ?. * and ? are standard in regular expressions but SQL uses % and _.

Hope that helps!
David
http://www.ecombuildertoday.com
Enhanced Reporting for AbleCommerce
Image

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Wild Cards * and ? may be used - what does this mean?

Post by Logan Rhodehamel » Mon Oct 31, 2011 4:50 pm

If you are doing a search you can use the * character to match any characters. So like when searching users a search of "*@domain.xyz" in the email field would show you all users with some email at the given domain.

Just as an FYI, in the future we are going to move away from supporting the ? wildcard character.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

Chris Hadden
Commander (CMDR)
Commander (CMDR)
Posts: 182
Joined: Tue Jan 27, 2009 2:29 pm

Re: Wild Cards * and ? may be used - what does this mean?

Post by Chris Hadden » Thu Nov 03, 2011 10:42 am

Ok thanks, I must say that truly is..... "advanced"... as no customer of mine would ever have the foggiest idea what those search functions are, just serves to confuse them.

Post Reply