but this will change all other uppercase to lowercase, so maybe it is not what you want. If you really want just change first char to upper, then there is nothing wrong to do it yourself
On Tue, Dec 5, 2017 at 2:37 PM, Daniel Kozak <kozz...@gmail.com> wrote: > Something like this: https://dlang.org/phobos/std_uni.html#asCapitalized > > On Tue, Dec 5, 2017 at 2:31 PM, Marc via Digitalmars-d-learn < > digitalmars-d-learn@puremagic.com> wrote: > >> Does D have a native function to capitalize only the first letter of the >> word? (I'm asking that so I might avoid reinvent the wheel, which I did >> sometimes in D) >> > >