Form Filtering

O

old.[ESZ]Khan

Guest
Hello all,

When a standard HTML form is submitted to an asp page how do you search a message box for a carrage return [Enter], what is the ASCI number for it? does anyone know where i can find an example?


Thanks peeps


Khan
 
O

old.Jas

Guest
Its called a vbcrlf - I don't think it has as ASCII code

A common question is how to replace these with line breaks, the answer is -

EndValue= Replace(StartValue,vbCrLf,"
")
 
O

old.[ESZ]Khan

Guest
YAY

Thanks M8ty it worked


VAR_MESSAGE=REPLACE(VAR_MESSAGE, vbcrlf, "
")

YAY


and thanks to the guys in #webdev who also gave the same answer!!


Khan
 

Users who are viewing this thread

Similar threads

1
Replies
4
Views
635
MYstIC G
M
D
Replies
0
Views
504
doh_boy
D
M
Replies
5
Views
695
Jonty
J
A
Replies
2
Views
545
A
U
Replies
8
Views
665
Jonty
J
Top Bottom