Easily split a line into two differently configurable parts