toLowerSpacedChars

Convert enumeration value (enumerator) t to a range chars.

toLowerSpacedChars
(
T
Separator
)
(
const T t
,
const Separator separator = " "
)
if (
is(T == enum)
)

Examples

enum Things { isUri, isLink }
assert(Things.isUri.toLowerSpacedChars.equal("is uri"));
assert(Things.isLink.toLowerSpacedChars.equal("is link"));
enum Things { isURI, isLink }
auto r = Things.isURI.toLowerSpacedChars;
alias R = typeof(r);
import std.range.primitives : ElementType;
alias E = ElementType!R;
static assert(is(E == dchar));

Meta