D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Tue Dec 13 15:30:38 2011

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

alias isUniLower;
  Scheduled for deprecation in January 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.

alias isUniUpper;
  Scheduled for deprecation in January 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.

alias toUniLower;
  Scheduled for deprecation in January 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.

alias toUniUpper;
  Scheduled for deprecation in January 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.

alias isUniAlpha;
  Scheduled for deprecation in January 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.