[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Titlecase



David Van Horn scripsit:

> "For every character c in the selected range of s, if c is preceded by a
> cased character, it is downcased; otherwise it is titlecased."

This seems to be what C# and Python do; Python also provides capitalize,
which works as I described.  Java does not have String.toTitleCase().
I'm good with this definition.

-- 
John Cowan  jcowan@xxxxxxxxxxxxxxxxx  www.ccil.org/~cowan  www.reutershealth.com
In computer science, we stand on each other's feet.
        --Brian K. Reid