Monday, January 12, 2015

Search fast and Easy by using Wildcard.

A wildcard character is a special character that represents one or more other characters.
 

The commonly used wildcard characters are :-

Wildcard character
Uses
Asterisk (*)
The asterisk represents zero or more characters in a string.

Example :-
If we are looking for a file that we know starts with "lmn" but you cannot remember the rest of the file name, type the following :-

lmn*

This locates all files of any file type that begin with "lmn" including lmn.txt, lmnhub.doc,lmneworld.doc, lmntechnohub.doc, etc...

To simplify the search to a specific type of file, type:

lmn*.doc

This will find all files that begin with "lmn" but have the file name extension .doc, such as lmnhub.doc,lmneworld.doc, lmntechnohub.doc.
Question mark (?)
Which represents any one character.

Example:-
if we type lmn?.doc,

lmn?.doc

It will locate the file lmn1.doc or lmn2.doc but not lmnhub.doc, lmneworld.doc, lmntechnohub.doc. Because (?) means only single character.

0 comments :

Post a Comment