On 30/09/2016 21:52, Egor Skriptunoff wrote:
"s:sub(k,0)" and "s:sub(0,k)" are always empty strings for any s and k Zero index always "kills" the substring.
This statement is not correct. E:\home>lua53 -eprint(('abcd'):sub(0,2)) ab -- Shmuel