S4 was then replaced by S41 and S42 lines.
This statement indicates that the original line designation, S4, has been replaced by two new lines, S41 and S42. The context suggests a system of sequential identification is being discussed.