PHP: split - Manual - PHP: Hypertext Preprocessor
The example from ramkumar rajendran did not work. $line = split("/\n", $input_several_lines_long); I do not know why this does not work for me. The following has worked for me to get a maximum of 2 array parts separated by the first new line (independ...