(1+1)-dimensional separation of variables