in reply to Problem with a new line
Otherwise, as far as I can tell, you're script works as you think it should. However I was running it off the command line, which leads me to think that the problem lies somewhere in your html, or in the data that you're sending to the script. You might not only try chomping that data, but also using a regex to filter out anything except letters, numbers, and whitespace.
--starX
www.axisoftime.com
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Problem with a new line
by jinnks (Novice) on Aug 06, 2008 at 19:32 UTC | |
by starX (Chaplain) on Aug 06, 2008 at 20:32 UTC |