![]() |
Tokenize / Removing characters
I want to save a string with saveLines(), when I use tokenize("\n"); to remove the '\n' all it does is escape it ('\\n'); How do I get rid of the '\n' all together to make an array?
|
Err, what? O.o
|
Post the code?
|
\n makes a line break in the code... just add a new line if your saving to some file
|
Quote:
PHP Code:
|
Quote:
just kidding, yes i know Quote:
Edit, now its taking away all N's along with the \n's and when I do \\\n it works but it adds an n to the beggining of each array but the first one |
Well if all else fails you could make a parser yourself.
I've never encountered this problem so I can't really help much, sorry. PHP Code:
|
| All times are GMT +2. The time now is 04:21 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.