#14957: clarify splitlines docs.

Initial patch by Michael Driscoll, I added the example.