hi, I'm trying to split a string into an array, using split()split() . I'd like to divide up the string at every line break. I've tried
$linearray = split("\\\\n", $content);
and
$linearray = split("[\n]", $content);
and both of these just put the whole string into the first element of my $linearray array.
Suggestions or Ideas?
are there different kinds of line breaks? A related question: Why does wordpad recognize some line breaks and not others?