[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: newbie question - strings and arrays
- From: "Henderson, Michael D" <michael.d.henderson@...>
- Date: Tue, 11 Oct 2005 14:36:07 -0600
Title: Message
You can use the string library
From the PIL book, p161
str =
"Lua";
print ( string.sub ( str , 2 , 1 ) ); -->
"u"
Mike
Hi.
If i have a string like "Lua" :) in lua,
how can I acess the "u"?
I've found that I can't use str[1] like an
array.
how can I do this?
[]'s
-
Walter