added new feature "to split string for newline"