Colliding waves on a relativistic string