Effect of splitting a spectral line into several components in the presence of a static magnetic field