Infinite relativistic string with a point-like mass