std.ctype
Simple ASCII character classification functions. For Unicode classification, see std.uni. References:ASCII Table, Wikipedia License:
Boost License 1.0. Authors:
Walter Bright Source:
std/ctype.d
- Returns !=0 if c is a letter in the range (0..9, a..z, A..Z).
- Returns !=0 if c is an ascii upper or lower case letter.
- Returns !=0 if c is a control character.
- Returns !=0 if c is a digit.
- Returns !=0 if c is lower case ascii letter.
- Returns !=0 if c is a punctuation character.
- Returns !=0 if c is a space, tab, vertical tab, form feed, carriage return, or linefeed.
- Returns !=0 if c is an upper case ascii character.
- Returns !=0 if c is a hex digit (0..9, a..f, A..F).
- Returns !=0 if c is a printing character except for the space character.
- Returns !=0 if c is a printing character including the space character.
- Returns !=0 if c is in the ascii character set, i.e. in the range 0..0x7F.
- If c is an upper case ascii character, return the lower case equivalent, otherwise return c.
- If c is a lower case ascii character, return the upper case equivalent, otherwise return c.