Stationary waves on a string