Undulating strings and gauge theory waves