Trang chủ > Cơ Sở Kiến ​​Thức > Difference between wildcards (*) and (?)
July 14, 2020

Difference between wildcards (*) and (?)

A wildcard character is a kind of placeholder represented by a single character, such as an asterisk (*) and question mark (?), which can be interpreted as a number of literal characters or an empty string. It is often used in file searches so the full name need not be typed. - From Wikipedia.

What is the difference between * and ?


*, it matches zero or more characters.
?, it matches exactly one character. If the question mark is placed at the end of the word, it will also match missing (zero) trailing characters.

Some examples
wis* matches "wise", "wisecleaner", and others whose first three letters are "wis".
wis? matches only "wise" and "wis".


[Reference]
Wildcard character
10 2

TẠI SAO NÊN CHỌN WISECLEANER?

ĐẢM BẢO HOÀN TIỀN

Bạn có thể dùng thử miễn phí trước khi mua. Ngay cả sau khi mua, bạn vẫn được hưởng chính sách hoàn tiền không điều kiện trong 60 ngày.

Bảo mật thanh toán

Chúng tôi coi trọng quyền riêng tư của bạn và bảo vệ thông tin tài chính và cá nhân của bạn thông qua mã hóa toàn diện và bảo vệ chống gian lận tiên tiến.

DỊCH VỤ KHÁCH HÀNG

Các đại diện giàu kinh nghiệm sẽ hỗ trợ bạn qua email trong vòng 24 giờ.