How to connect two lines into a single line as well as how to split the line into two lines or break it into multiple lines.