I'll draw the situation, so you can understand it:
The black line is the pole, the violet line represents the 7ft from the base of the pole, and the green line is the string, which we need to calculate the length.
To solve this, we can use the pythagorean theorem:
The string is approximately 12.2 ft long