Inplace toLower()

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 20 00:32:28 PDT 2017


On 2017-03-19 22:32, Nordlöw wrote:
> Is there an in-place version of std.uni.toLower()
>
> If not, how do I most elegantly construct one?

I would recommend against toLower and toUpper as in-place versions. Not 
all letters can be converted in-place, i.e. they might require more storage.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list