=str: #16345: fix IndexOOB, and error handling in the interpreter

Some (minimal but still) docs on these would be useful - when to override which.