[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to capiltalize only the first leter of a string?
- From: luciano de souza <luchyanus@...>
- Date: Mon, 25 Feb 2013 08:51:01 -0300
Thank you for the two precious tips: the code and the site. Your code
is exactly what I need and StackOverflow seems to be very useful!
2013/2/25, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
> s:sub(1,1):upper()..s:sub(2)
>
> http://stackoverflow.com/questions/2421695/first-character-uppercase-lua
>
>
--
Luciano de Souza