newline in string
| From: | Shawn McKenzie | Date: | Sun, 13 Oct 2002 09:24:21 +0000 |
| Subject: | newline in string | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-119775@lists.php.net to get a copy of this message | ||
I have loaded an html file into a string. How can I search the string for
newlines/linefeeds? I know they are there, because if I echo the string and
view source in the browser, some tags are on new lines.
Example:
<html>
<head>
</head>
TIA
-Shawn