length local t = "hi" print(#t) string standard library http://lua-users.org/wiki/StringLibraryTutorial