escape character in asp
Unlike C-style languages, ASP does not have support for escape sequences. Below i have listed some ASP alternatives for the most common escape sequences used in C, Java, PASCAL, etc.
\n (new line) = vbCrLf or vbNewLine
\t (tab) = vbTab
\" (quotes) = ""
\a (motherboard beep) = beep (VB only)
\0 (null) = nothing
The reason ASP does not need the majority of the excape sequences is because it is executed on the server, away from the requesting user.
vb keyword beep will play the windows beep sound.
\a (motherboard beep) = beep
You can use Chr() to get characters - just get a list of ASCII codes, so Chr(92) will give a \
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)