View source code
Display the source code in std/ascii.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Enum std.ascii.LetterCase

Letter case specifier.

enum LetterCase : bool { ... }

Enum members

lower Lower case letters
upper Upper case letters


import std.conv : to;

writeln(!string(16, LetterCase.upper)); // "2A"
writeln(!string(16, LetterCase.lower)); // "2a"


import std.digest.hmac : hmac;
import std.digest : toHexString;
import std.digest.sha : SHA1;
import std.string : representation;

const sha1HMAC = "A very long phrase".representation
writeln(sha1HMAC); // "49f2073c7bf58577e8c9ae59fe8cfd37c9ab94e5"


Walter Bright and Jonathan M Davis


Boost License 1.0.