Does anyone actually use std.string.capwords or std.string.capitalize?

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Jun 13 09:44:33 PDT 2011


On 6/13/11, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> Well, capwords is not something you're likely to find implementations of by
> grepping, since the name has a good chance of being different. But
> regardless,
> I find it much easier to believe that someone is using capitalize than
> capwords, particularly since capitalize is a building block of capwords.

Agreed. You can already use a mix of split() and capitalize(), so
capwords might be a good candidate to remove.


More information about the Digitalmars-d mailing list