D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Sun Apr 19 16:54:24 2009

# 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.

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 © 1999-2009 by Digital Mars, All Rights Reserved | Page generated by Ddoc.