www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Inplace toLower()

reply =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
Is there an in-place version of std.uni.toLower()

If not, how do I most elegantly construct one?
Mar 19 2017
next sibling parent ag0aep6g <anonymous example.com> writes:
On 03/19/2017 10:32 PM, Nordlöw wrote:
 Is there an in-place version of std.uni.toLower()
toLowerInPlace
Mar 19 2017
prev sibling parent Jacob Carlborg <doob me.com> writes:
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
Mar 20 2017