local word = "programming" print(string.sub(word, -3)) print(#word)