The OpenD Programming Language

toLowerInPlace

Converts s to lowercase (by performing Unicode lowercase mapping) in place. For a few characters string length may increase after the transformation, in such a case the function reallocates exactly once. If s does not have any uppercase characters, then s is unaltered.

version(!std_uni_bootstrap)
@trusted pure
void
toLowerInPlace
(
C
)
(
ref C[] s
)
if (
is(C == char) ||
is(C == wchar)
||
is(C == dchar)
)

Meta