[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: How to capiltalize only the first leter of a string?
- From: luciano de souza <luchyanus@...>
- Date: Mon, 25 Feb 2013 08:39:51 -0300
It seems to be so simpler, but in spite of this, I could not think a
simpler way to do.
I have the following string:
name = 'luciano'
The first leter should be capitalized , but only the first one. If I
use "string.upper(name)", all the string will be changed.
So, my question is, how to get "Luciano", as the changed string, in
other others, how to ccapitalize only one character?