www.digitalmars.com

D Programming Language 2.0

Last update Sun Jul 10 10:47:36 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 and Jonathan M Davis

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.

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, L1, 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, L1, Lt, Lm, and Lo).

Standards:
Unicode 5.0.0.