Often times it is necessary to take a string and dice it up
in order to extract portions to be used for some obscure purpose. Enter the
Split() function. Split is a very easy concept to grasp. Just decide where you
want to split your string and away you go.
Split
Lets talk about the Split() function in this tutorial.
This SPLIT() example is really pretty straight forward.
For i = 0 to 3
Response.Write arrPaco & "<br">
Next
%>
This is what just took place.
We took our string and split it everywhere there was a space and put it in an
array. We know there are 4 words so we used 3 in our loop (arrays are ZERO
based, 0 1 2 3. Arrays are explained in-depth
here).