std.uni
Simple Unicode character classification functions. For ASCII classification, see std.ctype.Source:
std/uni.d
References:
ASCII Table, Wikipedia, The Unicode Consortium
Trademarks:
Unicode(tm) is a trademark of Unicode, Inc.
- int isUniLower(dchar c);
- Returns !=0 if c is a Unicode lower case character.
- int isUniUpper(dchar c);
- Returns !=0 if c is a Unicode upper case character.
- dchar toUniLower(dchar c);
- If c is a Unicode upper case character, return the lower case
equivalent, otherwise return c.
- dchar toUniUpper(dchar c);
- If c is a Unicode lower case character, return the upper case
equivalent, otherwise return c.
- int isUniAlpha(dchar u);
- Return !=0 if u is a Unicode alpha character.
(general Unicode category: Lu, Ll, Lt, Lm and Lo)
Standards:
Unicode 5.0.0