We consider an initial-boundary value problem for the degenerate linear hyperbolic equation as a model of the motion of an inextensible string fixed at one end in the gravity field. We shall show the existence and the uniqueness of the solution and study the regularity of the solution.