Asp Codes
ActiveX
ADO
Array
Code Snippets
Components
Data Access
Date Time
Files
Graphics
HTML Formatting
Mathematics
Miscellaneous
Sessions
SQL
Strings
Techniques
XML
Asp > Code Snippets sample source codes
This joins a number of substrings in an array and returns a string
This joins a number of substrings in an array and returns a string , the second parameter between the " " is the delimiter and this is used to seperate the substrings , this is optional <% Dim arrColours(4) 'our array arrColours(0) = "red" arrColours(1) = "blue" arrColours(2) = "green" arrColours(3) = "orange" 'join the items using , Response.Write Join(arrColours, ",") & "
" 'join the items using / Response.Write Join(arrColours, "/") & "
" %>
Privacy Policy
|
Link to Us
|
Links