Attempt to call number value

could you not use table.find(v, whatever was passed, 1) ?

try i[2] [char limitttttttttttt]