Your question has nothing to do with Newton's third law.
You are having trouble identifying forces. That's not unusual. It takes some time and practice. A good book would help. Evidently your book is not very good at all, because the sentence you quote is practically unintelligible. Please don't waste your energy trying to make sense of it.
Wikipedia has fairly good statements of Newton's laws, although I think the statement of the second law, while correct, could be even better.
First you have to define your system. You have implicitly chosen your system to be the rope. Then you have to find the forces on the system. In Newtonian mechanics, a force is either a non-contact force (gravity, electrostatic, magnetic) or a contact force (everything else: normal forces, tension, the push of your finger, friction...).
In your question, we are implicitly neglecting all of the non-contact forces. That makes things a little easier. We are looking for contact forces. These only occur when the system is in contact with something it its environment. Here, they occur where the forces are applied to the rope, say, by your hand pulling on it. So there are two forces on the rope, one on each end.
A force that is a "pull" is usually called a tension force. So you have two tension forces, and they happen to be applied in opposite directions. Now, the rope is at rest, is it not? It's acceleration is zero. Newton's second law tells us that the net force, the algebraic sum of the two forces, is zero. Thus, the forces must be of equal magnitude and opposite direction. This has nothing to do with Newton's third law, although it shares some of the words used in the statement of Newton's third law.
Note that if the rope were accelerating, then the two tension forces would be in opposite directions, but unequal magnitude.
So here's what we have: two forces on the rope. Each one is applying a tension force on the rope. Those two forces are equal in magnitude, and opposite in sense (direction).
The only introductory book that I've seen that spells all of this out clearly is out of print.
That is a really good question that usually books fail to address in an intuitive way. Let me give you a step by step intuitive explanation by looking at the Atwood's machine:
![Atwood's machine](https://i.stack.imgur.com/p18vg.png)
Start with the balance of forces around the cable:
![enter image description here](https://i.stack.imgur.com/MoRLJ.jpg)
$$𝑭_𝟐−𝑭_𝟏=𝒎𝒂$$
F2 is greater than F1 since the cube has more mass than the sphere. Now we use the common assumption that textbooks use, that is, assume that the cable's mass is insignificant: $$m = 0$$
So the first equation would yield:
$$𝑭_𝟐−𝑭_𝟏=0(=) 𝑭_𝟐 = 𝑭_𝟏 $$
What is strange is that we are applying different forces at the cable's ends, however, the cable "feels" two equal forces. But we clearly know that F2 and F1 aren't the same. So what is this force that the cable "feels" at its extremities? Let's call it tension, T:
![enter image description here](https://i.stack.imgur.com/6YU7l.png)
Since the cable is "feeling" two equal forces, T, at its extremities, then it will react against the bodies it is attached to, with also a value of T. That's why in the Atwood's machine from the first figure, a tension T is applied against each body. Remember this is only true with the initial assumption (m=0), and a more realistic approach is mentioned in danimal's answer.
Of course, you now can calculate what is the value of T by analyzing the FBD of the sphere and the cube. I'll leave that up to you.
Clue: assume that both bodies have the same acceleration: if the position of the cube goes downwards 1 unit, then the position of the sphere goes upwards also 1 unit (thanks to the cable which has a constant length). Since the displacements (absolute value), $r(t)$, of the bodies, are the same over time, then their derivatives are also the same, meaning that $a_1 = a_2$, where $a_i$ is the resultant acceleration on body i.
Best Answer
Unless it has equal forces on both ends, it will accelerate in one direction, so this is always true for a string at rest. There's no difference between this case and the case where one end is fixed to a wall.
Tension is normally dealt with as a scalar in a string, not a force with a specific direction. For a string at rest, the tension at any point in the string is equal to the forces at each end.