RosettaCodeData/Task/String-length/Lua/string-length-2.lua

3 lines
45 B
Lua

str = "Hello world"
length = string.len(str)