Remove unnecessary second argument to string.sub