capitalize
fn
S capitalize(S)(S input) if (isSomeString!S) @trusted pureCapitalize the first character of s and convert the rest of s to lowercase.
Parameters
input | The string to _capitalize. |
Returns
The capitalized string.
See Also
asCapitalized for a lazy range version that doesn't allocate memoryfn
auto capitalize(S)(auto ref S s) if (!isSomeString!S && is(StringTypeOf!S))No documentation available for this declaration.