Using the Split Function to Build an Array:
Click here
to test this script.
Code:
Highlight
<%=splitString("Hello World Hello Earth Hello Planet")%> <% function splitString(strData) dim strArray strArray = Split(strData, " ", -1, 1) for i = 0 to Ubound(strArray) splitString = splitString & strArray(i) & "
" next end function %>