Wednesday, 18 September 2013

Getting one char from specified position

Getting one char from specified position

I'd to reach a char from a string in corona. Basically I want to:
local mystr = "corona"
print( mystr[3] )
But it always returns nil. How can I achieve that?

No comments:

Post a Comment