Integer expression subscript + substring checks