std.uni.toLowerCase / .toUpperCase

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 25 13:41:12 PDT 2015


On 06/25/2015 04:10 PM, Vladimir Panteleev wrote:
>
>
> And, IMHO, this:
>
> fileName.readText.lowerCased.detabbed.toFile(fileName.withExtension(".foo"))
>
>
> looks much better than this:
>
> fileName.readText.lowerCaser.detabber.toFile(fileName.extensionSetter(".foo"))
>

Definitely. The existing functions should have been named 'joined' and 
'splitted'. :o)


More information about the Digitalmars-d mailing list