web 2.0

ASP/VBScript Join()

ASP/VBScript Join() Returns a string created by joining a number of substrings contained in an array.

ShotDev Focus:
- Using Asp and Join() function.

Example

asp_join.asp


<% Option Explicit %>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Dim arrVar(3)
arrVar(0) = "a"
arrVar(1) = "b"
arrVar(2) = "c"
arrVar(3) = "d"
Response.write Join(arrVar)
%>
</body>
</html>

Create a asp file and save to path root-path/myasp/

Run
http://localhost/myasp/asp_join.asp

Screenshot

ASP/VBScript & Join()

.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.