D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Thu May 12 16:55:20 2011

# std.uni

Simple Unicode character classification functions. For ASCII classification, see std.ctype.

References:
ASCII Table, Wikipedia, The Unicode Consortium

Trademarks:
Unicode(tm) is a trademark of Unicode, Inc.

License:
Boost License 1.0.

Authors:
Walter Bright

Source:
std/uni.d

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

Copyright Digital Mars 2000 - 2009. | Page generated by Ddoc.