capitalize

fnS capitalize(S)(S input) if (isSomeString!S) @trusted pure

Capitalize the first character of s and convert the rest of s to lowercase.

Parameters

inputThe string to _capitalize.

Returns

The capitalized string.

See Also

asCapitalized for a lazy range version that doesn't allocate memory
fnauto capitalize(S)(auto ref S s) if (!isSomeString!S && is(StringTypeOf!S))
No documentation available for this declaration.