Bound checking on string and array subscripts