The Dirichlet problem is examined for the vibrating string equation on a rectangle with commensurable sides. As is well-known, a solution, if it exists, is not unique. A necessary and sufficient condition is obtained on the boundary values for existence of solutions. A simple formula for the solution is obtained.