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

Re: [OT] how to change the first character into upper case



On Thu, Feb 23, 2012 at 2:07 AM, Lorenzo Sutton
<lorenzofsutton@gmail.com> wrote:
> On 23/02/12 03:54, David Christensen wrote:

> Of course:
>
> ~$ python -c "print (' '.join([str.capitalize(x) for x in 'NELSON ARISPE,
> EDUARDO ROJAS, AND HARVEY B. POLLARD'.split(' ')]).replace('And','and'))"
> Nelson Arispe, Eduardo Rojas, and Harvey B. Pollard

This would fail for, among others, Andres Segovia or Bill Anders, wouldn't it?

Al


Reply to: