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
645
MYstIC G
M
D
Replies
0
Views
514
doh_boy
D
M
Replies
5
Views
701
Jonty
J
A
Replies
2
Views
553
A
U
Replies
8
Views
674
Jonty
J
Top Bottom