length of remaining String A is less than B 's length
if ( ( x - 1 + a . length - y ) < b . length ) { document . write ( " " ) ; return ; } if ( fwd [ x - 1 ] + bwd [ y + 1 ] >= b . length ) { document . write ( " " ) ; } else { document . write ( " " ) ; } }