Re: splitting string
| From: | Klaus Reimer | Date: | Tue, 16 Nov 2004 19:34:39 +0000 |
| Subject: | Re: splitting string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202204@lists.php.net to get a copy of this message | ||
Afan Pasalic wrote:
But, I can't figure out how to split them back? $string_back = explode('\n', $string);That one is the right one. But you must use double quotes, not single quotes. Escaped characters (except \') in single quoted strings are not processed.