undefined Posted October 24, 2014 Posted October 24, 2014 The first letter of sentences, how big do I do? string.upper() is change to all
FatalTerror Posted October 24, 2014 Posted October 24, 2014 If I understood, you want to convert the first letter of your sentence in capital letter. One search on Google and you have: function firstToUpper(str) return (str:gsub("^%l", string.upper)) end (source: http://stackoverflow.com/questions/2421 ... ercase-lua) Regards.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now