ASP/VBScript String() Declare variables type string.
ShotDev Focus:
- Declare variables type string.
Example
asp_string.asp
<% Option Explicit %> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Dim strVar1,strVar2 strVar1 = "ShotDev.Com" strVar2 = "Weerachai Nukitram" Response.write ("strVar1="&strVar1&"<br>") Response.write ("strVar2="&strVar2&"<br>") %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_string.asp
Screenshot
.
.
.
1adjusted…
…