D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Thu Oct 28 17:54:37 2010

# 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

Copyright Digital Mars 2000 - 2009. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at

http:
//www.boost.org/LICENSE_1_0.txt)

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.