View source code Display the source code in std/uni.d from which this page was generated on github. 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. Page wiki View or edit the community-maintained wiki page associated with this page.

std.uni.to_lower - multiple declarations

Function toLower

Returns a string which is identical to s except that all of its characters are converted to lowercase (by preforming Unicode lowercase mapping). If none of s characters were affected, then s itself is returned.

Prototype

S toLower(S)(
  S s
) pure @trusted
if (isSomeString!S);

Function toLower

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

Prototype

dchar toLower(
  dchar c
) pure nothrow @nogc @safe;

Warning

certain alphabets like German and Greek have no 1:1 upper-lower mapping. Use overload of toLower which takes full string instead.

Authors

Dmitry Olshansky

License

Boost License 1.0.

Comments