-- examples/text.cat -- text values, concatenation and `length`. -- ascii_text / utf8_text are Cat_Text; `#x` reads the length attribute. local name : ascii_text = "cat" local greeting = "hello, " .. name print(greeting) -- hello, cat print("length:", #greeting) -- 11 local u : utf8_text = "café" print("utf8 length:", u.length) -- 4 code points