The Green function of periodic boundary value problem with supplementary orthogonality conditions for bending of a string is obtained. The best constant of corresponding Sobolev inequality is found.