mid() was actually better here IMHO.