D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Tue Feb 14 02:46:20 2012

# std.uni

Functions which operate on unicode characters.

For functions which operate on ASCII characters and ignore unicode characters, see std.ascii.

References:
ASCII Table, Wikipedia, The Unicode Consortium

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

License:
Boost License 1.0.

Authors:
Walter Bright, Jonathan M Davis, and Kenji Hara

Source:
std/uni.d

dchar lineSep;
  UTF line separator

dchar paraSep;
  UTF paragraph separator

pure nothrow @safe bool isWhite(dchar c);
  Whether or not c is a unicode whitespace character. (general unicode category: Part of C0(tab, vertical tab, form feed, carriage return, and linefeed characters), Zs, Zl, Zp, and NEL(U+0085))

deprecated pure nothrow @safe bool isUniLower(dchar c);
  Deprecated. It will be removed in July 2012. Please use isLower instead.

  Return whether c is a unicode lowercase character.

pure nothrow @safe bool isLower(dchar c);
  Return whether c is a unicode lowercase character.

deprecated pure nothrow @safe bool isUniUpper(dchar c);
  Deprecated. It will be removed in July 2012. Please use isUpper instead.

  Return whether c is a unicode uppercase character.

pure nothrow @safe bool isUpper(dchar c);
  Return whether c is a unicode uppercase character.

deprecated pure nothrow @safe dchar toUniLower(dchar c);
  Deprecated. It will be removed in July 2012. Please use toLower instead.

  If c is a unicode uppercase character, then its lowercase equivalent is returned. Otherwise c is returned.

pure nothrow @safe dchar toLower(dchar c);
  If c is a unicode uppercase character, then its lowercase equivalent is returned. Otherwise c is returned.

deprecated pure nothrow @safe dchar toUniUpper(dchar c);
  Deprecated. It will be removed in July 2012. Please use toUpper instead.

  If c is a unicode lowercase character, then its uppercase equivalent is returned. Otherwise c is returned.

pure nothrow @safe dchar toUpper(dchar c);
  If c is a unicode lowercase character, then its uppercase equivalent is returned. Otherwise c is returned.

deprecated pure nothrow @safe bool isUniAlpha(dchar c);
  Deprecated. It will be removed in July 2012. Please use isAlpha instead.

  Returns whether c is a unicode alpha character (general unicode

  category:
  Lu, Ll, Lt, Lm, and Lo).

  Standards:
  Unicode 5.0.0.

pure nothrow @safe bool isAlpha(dchar c);
  Returns whether c is a unicode alpha character (general unicode

  category:
  Lu, Ll, Lt, Lm, and Lo).

  Standards:
  Unicode 5.0.0.

Copyright 2000 - | Page generated by Ddoc.