Fix substr (and substring) to support vector start (first) and stop (end) arguments.