select first 100 characters from string lua code example Example: lua first char of string s:sub(1, 1)