`string.sub('abcde', 4, 1)` should be an empty string, not `'bc'`. `string.sub('abcde', 3, 0)` should be an empty string, not `'cde'`.