[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: string like arrays
- From: Marco Antonio Abreu <falecomigo@...>
- Date: Tue, 15 Jan 2008 21:15:46 -0200
there is some how, in Lua, to access string bytes like an array;
something like what we can use in C or Pascal?
s = 'Lua race'
print( a ) --> prints "r"
It would be very desirable to be able to write too, like:
s = 'f'
print( s ) --> prints "Lua face"
Marco Antonio Abreu