Skip to content

Letter Ranges

Derek Callaway edited this page Apr 19, 2018 · 4 revisions

strglob wiki

Letter Ranges

The letter ranges feature of strglob implements an ordered set of alphabetic characters--either lowercase or uppercase. Specifying a letter range is done by surrounding the letters with square brackets and using a dash character as a separator. Refer to the samples below for demonstrations of both cases.


Lowercase Example Input

[a-d]


Lowercase Example Output

a
b
c
d


Uppercase Example Input

[E-H]


Uppercase Example Output

E
F
G
H


Clone this wiki locally