Previous Topic: Floating "-"Next Topic: Index ".*."


Variable "*"

The asterisk “*” can be used to represent zero to eight characters.

Entry:

Matches:

But Not:

ACCT*M.DATA

ACCTPAYM.DATA

ACCTPAYD.DATA

*LAB

LAB

NEW.JERSEY.LAB

*RAT

TESTRAT.LAB

TRAP.ALL.RATS

In the first entry, the asterisk is used to represent zero to eight characters between ACCT and M; thus the entry matches ACCT.PAYM but not ACCTPAYD. In the second entry, *LAB does not match NEW.JERSEY.LAB since NEW.JERSEY is more than eight characters long. Multiple asterisks can be listed in series to equal up to 44 characters; thus **LAB would match NEW.JERSEY.LAB.