Split this string into 3 substrings based on the newline character (`'\n'`) code example Example: split by new line java String lines[] = string.split("\\r?\\n");