Mike Burdick
06-01-2007, 08:46 PM
Hi,
I'm saving the contents of a textarea to a file. The problem I'm having is that when a carriage return is entered in the textarea the file being saved also reads this and saves the remaining data after that as a new line - which screws up everything! Is there a way I can get the carriage return to be skipped over when saving the file; but still be retained for reading back into the textarea?
Thanks...
I'm saving the contents of a textarea to a file. The problem I'm having is that when a carriage return is entered in the textarea the file being saved also reads this and saves the remaining data after that as a new line - which screws up everything! Is there a way I can get the carriage return to be skipped over when saving the file; but still be retained for reading back into the textarea?
Thanks...