Remove dependency to CPP: merged 'getLine' and 'separateline' into a single function...