escape character in asp
what is the escape character to escape special characters in asp? like the \ in javascript
Thanks
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.
Regards,
Andrew Buntine,
\a (motherboard beep) =
beep (VB only)
vb keyword beep will play the windows beep sound.
You can use Chr() to get characters - just get a list of ASCII codes, so Chr(92) will give a \
zing
|
Web Design and Development in Glasgow - 404i |
|
Blog |
Code:
-. .-. .-. .-. .-. .-. .-. .-. .-. .-.
||x|||\ /|||x|||\ /|||x|||\ /|||x|||\ /|||x|||\
|/ \|||x|||/ \|||x|||/ \|||x|||/ \|||x|||/ \|||
' '-' '-' '-' '-' '-' '-' '-' '-' '-'
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks