a = "hello"
print(#a) --> 5
print(#"good\0bye") --> 8
키워드 : length operator
Tuesday, May 1, 2012
# operator (length of a string 을 얻어냄)
Labels:
Lua
Subscribe to:
Post Comments (Atom)
a = "hello"
print(#a) --> 5
print(#"good\0bye") --> 8
키워드 : length operator
No comments:
Post a Comment