Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Removing carriage returns from <textarea></textarea> input

Reply
Thread Tools

Removing carriage returns from <textarea></textarea> input

 
 
Augustus
Guest
Posts: n/a
 
      09-10-2003
Hiya,

I have a form with a <textarea></textarea> to receive user input.

This input is then stored in a database and sent by fax...

I need to be able to remove the carriage returns (enter key... vbcrlf...)
from the input so that somebody doesn't do something like fill the textarea
with 100s of keypresses of the enter key and end up spitting out tonnes of
blank pages on the fax machine

thanks,

Clint


 
Reply With Quote
 
 
 
 
Ken Schaefer
Guest
Posts: n/a
 
      09-10-2003
strInput = Replace(strInput, vbCrLf, "")

Cheers
Ken


"Augustus" <(E-Mail Removed)> wrote in message
news:bjm95a$kr5k1$(E-Mail Removed)-berlin.de...
: Hiya,
:
: I have a form with a <textarea></textarea> to receive user input.
:
: This input is then stored in a database and sent by fax...
:
: I need to be able to remove the carriage returns (enter key... vbcrlf...)
: from the input so that somebody doesn't do something like fill the
textarea
: with 100s of keypresses of the enter key and end up spitting out tonnes of
: blank pages on the fax machine
:
: thanks,
:
: Clint
:
:


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xyplex double carriage returns when using tftp Chris_D Cisco 1 02-19-2006 10:16 PM
How to match carriage returns and line feeds Schroeder Perl 1 01-26-2005 06:53 PM
Help: Delete a single carriage return in a file, but not a double carriage return? Steve Anderson Perl Misc 3 06-21-2004 12:48 AM
Replacing Carriage Returns in VB.NET Mario Vargas ASP .Net 3 11-10-2003 04:47 PM
Carriage Returns and sockets Iceberg Perl 1 09-06-2003 04:49 PM



Advertisments