add splitLines function example