programming-examples/asp/More_Code_Snippets/Split a string using Split function.asp
2019-11-18 14:25:58 +01:00

11 lines
299 B
Plaintext

<%
Dim strText , arrText , intCount
'sample string with commas in it
strText = "This,is,our,sample,string"
'split the string and store in arrText
arrText = Split(strText,",")
'display all items
For intCount = 0 to UBound(arrText)
Response.Write arrText(intCount) & "<br>"
Next
%>